mintysolutions / vue_snippets

5 stars 0 forks source link

Suggestion: Organize Code Snippets by Source Site with Subdirectories #16

Closed keatseb7 closed 3 weeks ago

keatseb7 commented 3 weeks ago

To improve the structure and organization of the vue_snippets repository, I propose creating subdirectories for each document source site. This approach will allow us to better manage code snippets sourced from different documentation platforms, starting with vuejs.org.

Proposed Changes:

  1. Subdirectory per Source Site:
    Create a subdirectory for each documentation source (e.g., vuejs.org, etc.) to clearly separate snippets from different platforms.

  2. One Markdown File per Top-Level Heading:
    For each document source, structure the snippets by creating a single Markdown file for every top-level heading in the documentation. For example, for vuejs.org, we could have files like:

    • /vuejs.org/Essentials.md
    • /vuejs.org/Components.md
    • /vuejs.org/Reactivity.md

    Each file will contain concise and useful code snippets related to that specific section of the documentation, eliminating unnecessary text and focusing solely on code and brief context where required.

Benefits:

Next Steps:

Let me know if this proposal aligns with the project's goals, and I'd be happy to contribute to implementing it!

mintysolutions commented 3 weeks ago

Hi @keatseb7, great idea! Please work on this issue and update the folder structure.

mintysolutions commented 3 weeks ago

Let me close this issue.