Skip to content

Commit

Permalink
Merge branch 'issue/version-bump' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
inmantaci committed Dec 20, 2022
2 parents 91885ea + b2ae817 commit 7a82aca
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.6.1
current_version = 1.7.0
tag = False
commit = False

Expand Down
5 changes: 0 additions & 5 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,3 @@ Strike through any lines that are not applicable (`~~line~~`) then check the box
- [ ] Code is clear and sufficiently documented
- [ ] Correct, in line with design
- [ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )

# Reviewer Checklist:

- [ ] Code is clear and sufficiently documented
- [ ] Correct, in line with design
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# v 1.6.1 (2022-11-07)
# v 1.7.0 (2022-12-20)
Changes in this release:
- Ensure that environment settings defined by Inmanta extensions are present in the generated documentation.
- Try to load all modules provided in config options list. Do not fail is one is missing.

# v 1.6.0 (2022-09-09)
Changes in this release:
Expand Down
7 changes: 6 additions & 1 deletion ci/Jenkinsfile-test
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pipeline {
axes {
axis {
name "CORE_BRANCH"
values "master", "iso5", "iso4"
values "master", "iso6", "iso5", "iso4"
}
axis {
name "MODULES_V2"
Expand Down Expand Up @@ -113,4 +113,9 @@ pipeline {
}
}
}
post{
cleanup{
deleteDir()
}
}
}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name='inmanta-sphinx',
version='1.6.1',
version='1.7.0',
url='https://github.com/inmanta/inmanta-sphinx',
license='ASL 2.0',
author='Inmanta',
Expand Down
7 changes: 6 additions & 1 deletion sphinxcontrib/inmanta/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,12 @@ def _get_namespaces(self):
def run(self):
namespaces = self._get_namespaces()
for namespace in namespaces:
importlib.import_module(namespace)
try:
importlib.import_module(namespace)
except ModuleNotFoundError:
# The documentation lists all possible Python modules in the server codebase with config. Only the ones that exist will be
# rendered. This allows a single file for both OSS and ISO releases.
LOGGER.warning("Unable to load module %s, no config will be loaded for this module", namespace)

result = ViewList()
source_name = '<' + __name__ + '>'
Expand Down

0 comments on commit 7a82aca

Please sign in to comment.