Skip to content

Simple template to help bootstrap a docsify project as quickly as possible in my favorite setup.

License

Notifications You must be signed in to change notification settings

maverickg59/docsify-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

docsify-template

A simple template to help bootstrap a Docsify project as quickly as possible, configured with my favorite setup.

Version

Current version: 1.0.0

Features

  • 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:
  • Simple Local Preview: Run a Python server to preview your site locally with a single command.

Project Structure

./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

Usage

1. Clone the Repository

git clone https://github.com/maverickg59/docsify-template.git
cd docsify-template

2. Start the Local Server

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

3. Customize

  • 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.

Built With


License

This project is licensed under the MIT License. See the LICENSE file for details.


Contributing

Contributions are welcome! Feel free to submit a pull request or open an issue on GitHub.


Author

Developed by Chris White. Find me on GitHub.

About

Simple template to help bootstrap a docsify project as quickly as possible in my favorite setup.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published