Automatically generated Docsify flavored documentation sites for your markdown files! We are a README-as-a-Service project, spin up beautiful versions of your documentation in seconds! And the best part? We are completely free and open-source!
To render your docs all you have to do is go to /:user/:repo/
thats it! Currently, fastdocs only supports GitHub.
?> :user
should be replaced with your GitHub username
?> :repo
should be replaced with the name of the GitHub repository
We automatically compile it with docsify and serve it at /docs/:user/:repo/
.
!> Make sure you ALWAYS go to /:user/:repo
and not /docs/:user/:repo
, the /docs/
endpoint will not be available 24x7 due to hosting, but /:user/:repo
always will be. Although we don't have an ETA, we are working on fixing this issue.
Example:
To render documentation from https://github.com/cheeriojs/cheerio, where the :user
is cheeriojs
and :repo
is cheerio
you can simply go to https://fastdocs.io/cheeriojs/cheerio to view the rendered documentation!
To add a description
for SEO purposes, or to add plugins to your documentation, you need to create a .fastdocs.json
file in the root of your repo.
Example repo file structure :
├── .fastdocs.json
├── build/
├── src/
└── README.md
Once you have made the .fastdocs.json
file, the currently supported options are:
{
"description": "Description",
"plugins": [],
"gaCode": ""
}
The description of your project. Mainly for SEO purposes when docs are linked on platforms like facebook, twitter, linkedin, etc.
- type: string
- default:
"Description"
- example usage:
"App that sends hello world every 2 seconds"
List of plugins you would like added to your docs. Supported plugins right now:
Adds a search bar on the top of the sidebar to quickly search docs.
Adds a "Copy to Clipboard" next to code blocks.
Support for google analytics. Pass in the google analytics code to gaCode
Renders emoji's in your documentation. (Ex: :100:
would render to 💯)
Adds subtle zooming to images cursor is hovering.
- type: string array
- default:
[""]
- example usage:
["docsify-copy-code", "full-text-search"]
Pass in your google analytics code if you have specified google-analytics
in the plugins array. This field is optional and can be ignored if it does not apply to you.
- type: string
- default:
""
- example usage:
"UA-GXXXY"
Everyone is encouraged to contribute to this project, there are no restrictions other than following the semantic-commit
conventions. If you want to contribute by reporting bugs, or suggesting new features you are welcome to do so on our Issue Tracker