Skip to content


Package Documentation (GoDoc)

Godoc parses Go source code - including comments - and produces documentation as HTML or plain text. The end result is documentation tightly coupled with the code it documents: contains the source our public docs in Markdown.

They are meant to be parsed with the Mkdocs documentation builder to build the HTML documentation on

Contributing changes

Pull Requests should use the master branch by default.

Though less convenient to edit than a Wiki, our photoprism-docs repository is meant to receive pull requests to always improve the documentation, add new pages, etc. Having direct access to the source files in a revision control system is a big plus to ensure the quality of our end user documentation.

Project layout

mkdocs.yml    # The configuration file.
docs/  # The documentation homepage.
    ...       # Other markdown pages, images and other files.

Building with Mkdocs

To build the HTML, you need to install Mkdocs.

It is best installed using pip, Python's module installer. On a Mac you can run:

brew install python
pip3 install mkdocs
pip3 install mkdocs-material

You can then build the HTML documentation from the root folder of this repository with:

mkdocs build

or start a server that listens on

mkdocs server

Editing existing pages

To edit an existing page, locate its .md source file and open it in your favourite text editor. You can then commit the changes, push them to your fork and make a pull request.