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
exts
and point conf.py to it:sys.path.append(os.path.abspath('../exts'))
-
Copy
sphinx_gitstamp
as a directory in your project's extensions directory, and rename it tosphinx_gitstamp_dev
. -
Add
sphinx_gitstamp_dev
to extensions, or changesphinx_gitstamp
tosphinx_gitstamp_dev
if you already have the extension installed viapip
, in conf.py:extensions = ['sphinx_gitstamp_dev']
You can now make changes to sphinx_gitstamp_dev
.
-
Run
pycodestyle
onsphinx_gitstamp_dev
:pycodestyle sphinx_gitstamp_dev