What's this Site About?
This is a starter kit to create an open Docsify documentation site, with a link automatically created on each page to edit the source Markdown text in a GitHub or GitLab repository.
📸 Docsify Open Publishing Starter Kit Screenshot
Figure 1. Docsify Open Publishing Starter Kit. Explore a demo at hibbitts-design.github.io/docsify-open-publishing-starter-kit/
🚀 Quick GitHub Pages Install Instructions
- GitHub account
- Fork this repository
- Go to Settings of your repository, scroll down to GitHub Pages and chose master branch/docs folder (see more details in the Docsify documentation)
- And you're done! (view your new site using the provided URL right below your GitHub Pages section - it can take up to 20 minutes for your site to be initially available)
Want to delete the fork dependency of your newly created repository?
- Select the + sign in the top right corner, and choose Import repository
- Import your forked repository (the new repository won't have the fork dependency)
- Delete the original forked repository via the repository settings.
📝 "Edit the Page on GitHub" Link Setup
- Edit the file
index.htmlin your repository
- Find the sample GitHub repository URL
https://github.com/hibbitts-design/docsify-open-publishing-starter-kit/tree/master/docs/and replace it with your own repository URL, for example
- Commit your changes.
💻 Editing your Docsify Site Locally
- Tap Clone on your repository page
- Choose Open Desktop and follow the prompts, installing GitHub Desktop if not already present
- You will now be able to edit your Docsify site (in the
docsfolder) using the desktop editor of your choice (e.g. atom.io)
- Use GitHub Desktop to push any changes to your repository. Learn more about using GitHub Desktop.
You can also clone (i.e download) a copy of your repository to your computer and run Docsify locally to preview your site. See the below video for details.
Do you use GitLab? You can also use Docsify with GitLab Pages!