Thank you for your interest in contributing to sphinx-gitstamp!
You will need to set up a development environment to make and test your changes before submitting them.
You need to add sphinx-gitstamp as a third party extension.
-
If your project doesn't have an extensions directory, create
extsand point conf.py to it:sys.path.append(os.path.abspath('../exts')) -
Copy
sphinx_gitstampas a directory in your project's extensions directory, and rename it tosphinx_gitstamp_dev. -
Add
sphinx_gitstamp_devto extensions, or changesphinx_gitstamptosphinx_gitstamp_devif you already have the extension installed viapip, in conf.py:extensions = ['sphinx_gitstamp_dev']
You can now make changes to sphinx_gitstamp_dev.
-
Run
pycodestyleonsphinx_gitstamp_dev:pycodestyle sphinx_gitstamp_dev