Skip to content

[doc] fix broken converter references after dftkit outsourcing (issue…#289

Open
the-hampel wants to merge 1 commit intounstablefrom
fix_doc_after_dftkitpr
Open

[doc] fix broken converter references after dftkit outsourcing (issue…#289
the-hampel wants to merge 1 commit intounstablefrom
fix_doc_after_dftkitpr

Conversation

@the-hampel
Copy link
Copy Markdown
Member

After PR #286 moved all converters to triqs_dftkit, the Sphinx build failed because autosummary tried to recursively import the now-missing triqs_dft_tools.converters.* submodules.

  • Remove converters from the recursive autosummary in documentation.rst
  • Add new converters_reference.rst page linking to dftkit docs with a backward-compatible import table
  • Add dftkit to intersphinx_mapping so :py:mod:/:py:class: refs resolve
  • Exclude stale _python_api/triqs_dft_tools.converters* files via exclude_patterns to prevent leftover generated files from re-triggering the import errors on incremental builds
  • Update :py:mod: cross-references in guide pages to point to the correct triqs_dftkit.* module paths
  • Fix all converter import statements in guide/tutorial .rst files and .py scripts: replace from triqs_dft_tools.converters.xxx import * (submodule no longer exists) with from triqs_dft_tools.converters import XxxConverter

Closes #287

…287)

After PR #286 moved all converters to triqs_dftkit, the Sphinx build
failed because autosummary tried to recursively import the now-missing
triqs_dft_tools.converters.* submodules.

- Remove `converters` from the recursive autosummary in documentation.rst
- Add new converters_reference.rst page linking to dftkit docs with a
  backward-compatible import table
- Add dftkit to intersphinx_mapping so :py:mod:/:py:class: refs resolve
- Exclude stale _python_api/triqs_dft_tools.converters* files via
  exclude_patterns to prevent leftover generated files from re-triggering
  the import errors on incremental builds
- Update :py:mod: cross-references in guide pages to point to the
  correct triqs_dftkit.* module paths
- Fix all converter import statements in guide/tutorial .rst files and
  .py scripts: replace `from triqs_dft_tools.converters.xxx import *`
  (submodule no longer exists) with `from triqs_dft_tools.converters
  import XxxConverter`

Closes #287
@the-hampel the-hampel requested a review from Thoemi09 April 28, 2026 14:19
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.

1 participant