Skip to content

Remove stale data when generating documentation#107

Open
mwoehlke wants to merge 1 commit intocps-org:masterfrom
mwoehlke:clean-doc
Open

Remove stale data when generating documentation#107
mwoehlke wants to merge 1 commit intocps-org:masterfrom
mwoehlke:clean-doc

Conversation

@mwoehlke
Copy link
Member

Modify documentation generation (specifically, the custom domain) to keep track of what document name provided objects or attributes. Use this to actually implement the domain's clear_doc method. This fixes incremental builds "seeing" stale state, which results in warning spam and incorrect output.

This is mainly an issue for local builds, since the builds that actually get published are always clean, but it fixes a development pain point.

Modify documentation generation (specifically, the custom domain) to
keep track of what document name provided objects or attributes. Use
this to actually implement the domain's `clear_doc` method. This fixes
incremental builds "seeing" stale state, which results in warning spam
and incorrect output.

This is mainly an issue for local builds, since the builds that actually
get published are always clean, but it fixes a development pain point.
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