1. SvelteDocHub is a sleek application designed to load and render Markdown files from a docs
directory. With a user-friendly interface built using Svelte, users can effortlessly navigate and read their documents. The project combines the power of Node.js for backend operations and Svelte's reactive components to provide a smooth experience.
.md
files.Clone the repository:
git clone <repository-url>
cd <project-directory>
Install the dependencies:
npm install
Run the development server:
npm run dev
Open http://localhost:5173 in your browser to view the application.
Run the development server with live reloading:
npm run dev
Build the application for production:
npm run build
The optimized files will be in the build
directory.
Overview of the project directories and files:
/
āāā docs/
ā āāā example1.md
ā āāā example2.md
ā āāā ...
āāā src/
ā āāā lib/
ā ā āāā components/
ā ā āāā +Sidebar.svelte
ā āāā routes/
ā ā āāā +page.svelte
ā āāā ...
āāā package.json
āāā ...
docs
DirectoryPlace your Markdown files in the docs
directory for them to be listed in the sidebar.
Sample Markdown file (example1.md
):
# Documentation Title
Documentation content goes here...
Contributions are highly appreciated! To contribute:
git checkout -b feature-branch
).git commit -m 'Add new feature'
).git push origin feature-branch
).Please check out the CONTRIBUTING.md guidelines for more details.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or additional information, feel free to contact the project maintainers or open an issue on GitHub.
Made with ā¤ļø using Svelte