Skip to content

Commit 53c48a5

Browse files
committed
Add method to discover artefact paths
Add apathto method to discover artefact paths. Add dictionary comprehension to pair build target names and artefact paths to each version object. This will ensure that the build artefacts for the current build is accessible via the current_version key in html_context. Add modifier to replace slashes in branch names with hyphens for file naming purposes. This will ensure that the file name is not split and a truncated version used for the artefact name. Add shutil.py as a third party library to ensure backwards compatability can be achieved with python 3.6. shutil.copytree only accepts the dir_exists_ok argument from python 3.8. Add unit tests and update metadata schema with appropriate mocked objects for app configuration.
1 parent 21ea597 commit 53c48a5

File tree

6 files changed

+1680
-6
lines changed

6 files changed

+1680
-6
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
version="0.2.4",
2424
install_requires=["sphinx >= 2.1"],
2525
license="BSD",
26-
packages=["sphinx_multiversion"],
26+
packages=["sphinx_multiversion", "sphinx_multiversion.lib"],
2727
entry_points={
2828
"console_scripts": [
2929
"sphinx-multiversion=sphinx_multiversion:main",

sphinx_multiversion/lib/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)