diff --git a/conda-recipe/recipe.yaml b/conda-recipe/recipe.yaml index 17197e55..958db71e 100644 --- a/conda-recipe/recipe.yaml +++ b/conda-recipe/recipe.yaml @@ -2,7 +2,7 @@ # local test: rattler-build build -r conda-recipe/recipe.yaml -c conda-forge context: name: pele - version: "0.1.1" + version: "0.1.2" package: name: ${{ name }} diff --git a/doc/_static/pele.css b/doc/_static/pele.css index b2fa640f..b3ddb49a 100644 --- a/doc/_static/pele.css +++ b/doc/_static/pele.css @@ -30,3 +30,9 @@ .sig.c > a.internal::before { content: none; } + +/* Keep the project name beside the logo, which Shibuya otherwise hides. */ +.sy-head-brand img + strong { + display: inline; + margin-left: .5rem; +} diff --git a/doc/conf.py b/doc/conf.py index 7b5f832f..8375039d 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -157,12 +157,12 @@ # The name of an image file (relative to this directory) to place at the top # of the sidebar. -# html_logo = None +html_logo = "../gmin_lj38.png" # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. -# html_favicon = None +html_favicon = "../gmin_lj38.png" # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, @@ -407,6 +407,9 @@ def doxygen_reference(app, env, node, contnode): refid, owner = target api = app.exhale_root.node_by_refid declaration = api.get(refid) + # Exhale gives enum values filenames but renders them on the owning enum page. + if getattr(declaration, "kind", None) == "enumvalue": + declaration = api.get(owner) while declaration is not None and not declaration.file_name: declaration = declaration.parent if declaration is None: diff --git a/meson.build b/meson.build index cf7132c9..97f4c501 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'pele', 'c', 'cpp', - version: '0.1.1', + version: '0.1.2', meson_version: '>=1.3', default_options: [ 'buildtype=release', diff --git a/pyproject.toml b/pyproject.toml index ae42edb7..e4385d49 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ build-backend = "mesonpy" [project] name = "pele" -version = "0.1.1" +version = "0.1.2" description = "Python energy landscape explorer: global optimization, minimization, basins of attraction" readme = "README.rst" license = "GPL-3.0-or-later"