Skip to content

docs: reconcile Sphinx config, version strings, and dead toctree entries#189

Merged
gabrielspadon merged 1 commit into
masterfrom
docs/reconcile
Jul 8, 2026
Merged

docs: reconcile Sphinx config, version strings, and dead toctree entries#189
gabrielspadon merged 1 commit into
masterfrom
docs/reconcile

Conversation

@gabrielspadon

Copy link
Copy Markdown
Collaborator

What

  • Add version/release to Sphinx conf.py via importlib.metadata (built docs now show version)
  • Fix favicon to use absolute URL instead of fragile ../../ path
  • Remove dead api/modules toctree entry (build_docs.sh uses --no-toc)
  • Align CITATION.cff and README BibTeX version to 1.8.0-alpha (matches git tag)
  • Update API reference URL to canonical maps-lab.github.io/AISdb/

Files changed

4 files, +11 -6

- Add version/release to conf.py via importlib.metadata
- Fix favicon to use absolute URL instead of fragile relative path
- Remove dead api/modules toctree entry (build_docs.sh uses --no-toc)
- Align CITATION.cff and README BibTeX version to 1.8.0-alpha (matches git tag)
- Update API ref to canonical maps-lab.github.io/AISdb/
Copilot AI review requested due to automatic review settings July 8, 2026 23:14
@gabrielspadon gabrielspadon merged commit 17eda9f into master Jul 8, 2026
15 checks passed
@gabrielspadon gabrielspadon deleted the docs/reconcile branch July 8, 2026 23:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates documentation and citation metadata to reduce broken links/toctree entries and to surface versioning information in the rendered Sphinx docs.

Changes:

  • Update README documentation links (API reference URL) and adjust the cited version string.
  • Remove a dead Sphinx toctree entry (api/modules) from the docs index.
  • Update Sphinx conf.py to populate version/release dynamically and change the configured favicon location.
  • Align CITATION.cff version string with the README BibTeX entry.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
README.md Updates documentation links and the BibTeX version field.
docs/source/index.rst Removes a dead api/modules toctree entry.
docs/source/conf.py Adds dynamic version/release resolution and changes favicon configuration.
CITATION.cff Updates citation version metadata.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/source/conf.py
Comment on lines +16 to +19
try:
_version = importlib.metadata.version("aisdb")
except importlib.metadata.PackageNotFoundError:
_version = "0.0.0+unknown"
Comment thread docs/source/conf.py
# html_static_path = ['.']

html_favicon = "../../aisdb_web/map/public/favicon.svg"
html_favicon = "https://aisviz.cs.dal.ca/favicon.svg"
Comment thread README.md
title = {AISdb},
year = {2026},
version = {1.8.0a0},
version = {1.8.0-alpha},
Comment thread CITATION.cff
given-names: Gabriel
affiliation: "MAPS Lab, Dalhousie University"
version: "1.8.0a0"
version: "1.8.0-alpha"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants