Skip to content

This is a documnetation app template made with Svelte and ready to use. Condsider it as school project πŸ˜‚

Notifications You must be signed in to change notification settings

devmnj/svelte-docs

Repository files navigation

Project logo

Svelte Docs

Hackathon License

Svelte Docs

This is Svelte app template for generating documentation site using Markdown files. Have a look at the demo

πŸ“ Table of Contents

πŸš‚ How this app works ?

There is docs folder under the src/routes/, this is where need to place the .svx files (markdown), which is treated as page in the app.

Each of the markdown document should have the following fields

---
section: Intro
under: root 
---

πŸ–ŠοΈ Filename and url

The file name should not include white space, files name used for url.Since url doesn't allow spaces, we have to use something like, installation-guide where whitespace required.

β›½ .env

Please update .env with your settings.

Experimenting

For developing and make changes to this project, you need to install Nodejs, Svelt JavaScript Framework.

Fork the repository or download the project to a local machine. Then run yarn install for dependency setup ( from the root directory).

This application uses a .env file which store the site configuaration, this repo has .env.production which is used to configure the settings in production mode. You have to create a .env file for local development with same content.

Now let's start the development server and modify:

npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open

⛏️ Built With

πŸ”· Additional Guide

Learn Svelte Programming - from scratch

✍️ Authors

πŸ–οΈ How to deploy the app

For deployment , try Vercel, it is so easy to deploy a JAM stack app with Vercel. In this application uses a .env file which store the site configurations, which is not exported to git hub, instead I have .env.production which is used to configure the settings @ production.

I also removed .env.production file from the gitignore , so that they are uploaded to my repository.

πŸŽ‰ Acknowledgments

  • The work is impossible without MDSVEX and Svelte.

About

This is a documnetation app template made with Svelte and ready to use. Condsider it as school project πŸ˜‚

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published