A simple template to help bootstrap a Docsify project as quickly as possible, configured with my favorite setup.
Current version: 1.0.0
- Quick Bootstrap: Preconfigured project structure to get you started instantly.
- Customizable Components: Easily swap out the logo (
cw_rocks.png
), favicon (favicon.ico
), and footer content to personalize your site. - Enhanced Functionality:
- Integrated docsify-copy-code for effortless code snippet copying.
- Includes docsify-footer for consistent document footers.
- Search functionality powered by docsify-search.
- Themed using docsify-theme-github
- GitHub corner provided by docsify-corner
- Simple Local Preview: Run a Python server to preview your site locally with a single command.
./docs/
├── assets/
│ ├── copycode.js # Copy Code script (enables code copy/paste)
│ ├── docsify.js # Core Docsify script
│ ├── corner.js # Corner script (enables GitHub corner)
│ ├── footer.js # Footer script (enables footer on every page)
│ ├── icon.svg # Docsify logo
│ ├── index.css # Theme stylesheet
│ ├── search.js # Search script (enables search)
├── _footer.md # Defines the document footer
├── .nojekyll # Tells GitHub to bypass Jekyll
├── CNAME # Adds custom domain to my pages site (replace or delete)
├── cw_rocks.png # Logo (replace with your own)
├── favicon.ico # Favicon (replace with your own)
├── index.html # Main entry point for the Docsify site
├── license.md # MIT license file
├── makefile # Includes a command to run a local preview
└── README.md # Project documentation
git clone https://github.com/maverickg59/docsify-template.git
cd docsify-template
To preview your site locally, use the makefile
:
cd docs
make dev
This runs a Python server at http://localhost:3005
.
Alternatively, run the server manually:
python3 -m http.server 3005
- Replace
cw_rocks.png
with your logo. - Replace
favicon.ico
with your favicon. - Modify
_footer.md
to update the footer content. - Update the Docsify config inside
index.html
. - Modify the features to your hearts content.
- Visit Docsify docs to get started developing content.
- docsify: A magical documentation site generator.
- docsify-copy-code: Adds a copy button to code blocks.
- docsify-footer: Allows customization of the footer.
- docsify-search: Provides in-page search functionality.
- docsify-theme-github: The minimal amount of CSS to replicate the GitHub Markdown style.
- docsify-corner: Provides the GitHub corner to help users find your repo quickly and easily.
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Feel free to submit a pull request or open an issue on GitHub.
Developed by Chris White. Find me on GitHub.