Skip to content

canonical/snap-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

298 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snap documentation

This repository contains the source files to build a work-in-progress migration of the Snap documentation.

The migration involves porting the documentation currently hosted and published directly from the Snapcraft forum (https://forum.snapcraft.io/c/doc/15) to this repository, where it will be built with Sphinx and published via ReadtheDocs.

The documentation is written in Markdown and built with Sphinx, all taken from the Documentation starter pack.

Build the documentation

Install prerequisite software

To install the prerequisites:

make install

This will create a virtual environment (.sphinx/venv) and install dependency software (.sphinx/requirements.txt) within it.

View the documentation

To view the documentation:

make run

This will do several things:

  • activate the virtual environment
  • build the documentation
  • serve the documentation on 127.0.0.1:8000
  • rebuild the documentation each time a file is saved
  • send a reload page signal to the browser when the documentation is rebuilt

The run target is therefore very convenient when preparing to submit a change to the documentation.

About

Documentation for the snap packaging system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 9