File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1717# Catch-all target: route all unknown targets to Sphinx using the new
1818# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1919% : Makefile
20+ @pip install --force-reinstall ..
2021 @$(SPHINXBUILD ) -M $@ " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
Original file line number Diff line number Diff line change 1414#
1515import os
1616import sys
17- sys .path .insert (0 , os .path .abspath ('../..' ))
17+ import testgres
18+
19+ assert testgres .__path__ is not None
20+ assert len (testgres .__path__ ) == 1
21+ assert type (testgres .__path__ [0 ] == str ) # noqa: E721
22+ p = os .path .dirname (testgres .__path__ [0 ])
23+ assert type (p ) == str # noqa: E721
24+ sys .path .insert (0 , os .path .abspath (p ))
1825
1926# -- Project information -----------------------------------------------------
2027
2128project = u'testgres'
29+ package_name = u'testgres'
2230copyright = u'2016-2023, Postgres Professional'
2331author = u'Postgres Professional'
2432
5563#
5664# This is also used if you do content translation via gettext catalogs.
5765# Usually you set "language" from the command line for these cases.
58- language = None
66+ language = "en"
5967
6068# List of patterns, relative to source directory, that match files and
6169# directories to ignore when looking for source files.
You can’t perform that action at this time.
0 commit comments