Skip to content

End-user documentation for MediaElch

Notifications You must be signed in to change notification settings

Rygle/mediaelch-doc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MediaElch Logo

MediaElch Documentation

This repository contains the source files of the MediaElch documentation. You can find the documentation here: https://mediaelch.github.io/mediaelch-doc/

Build documentation

Download and install Sphinx as well as the "Read the Docs Sphinx Theme".

pip3 install --user sphinx sphinx-autobuild # Install Sphinx and a watch tool
pip3 install --user sphinx_rtd_theme # Install Theme
cd docs
./create_changelog.sh # Concerts the Markdown changelog to reStructuredText
make html

Release documentation

If you are a maintainer of this repository, you can release a new version of this documentation by using ./update_github_pages.sh.

Note: You must not have any un-committed changes in your local repository!

You can use the Dockerfile provided to release the documentation. This can be helpful if you're on macOS or Windows because the script create_changelog.sh requires GNU sed and can't work with the outdated macOS version.

docker build --pull -t "mediaelch/mediaelch-ci-doc:latest" .
# We need volumes to the mediaelch-doc repository and to your ssh credentials
docker run -it --rm \
  --name mediaelch_doc_build \
  -v $(pwd):/opt/mediaelch-doc \
  -v ${HOME}/.ssh:/root/.ssh \
  mediaelch/mediaelch-ci-doc:latest \
  /opt/mediaelch-doc/update_github_pages.sh

Troubleshooting

If you can't install the theme using pip, please refer to: https://sphinx-rtd-theme.readthedocs.io/en/latest/installing.html#via-git-or-download

Contributing

Fork this repo and create a pull request containing your changes. Any help is welcome! :-)

If you add images (such as screenshots), minimize them using Trimage.

Please also run rstcheck:

pip install --user rstcheck
find . -type f -name '*.rst' -exec rstcheck {} \+

Scripts

The scripts directory contains some scripts that can be used to prefer folder structures, etc. for screenshots.

Refer to each script's source for more details.

About

End-user documentation for MediaElch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 85.9%
  • Dockerfile 14.1%