Skip to content

Autodoc: missing integration with the cache system #15864

Closed

Description

@kristoff-it

Today autodoc just happily places all its artifacts at the destination and calls it a day.

If you run zig test foo.zig -femit-docs, the cache system should be able to notice that the tests don't need to be re-run (it already does that), but that the doc files in the destination folder (docs/ by default) need to be replaced with a cached copy in case they're missing / stale.

Right now users will experience intermittent malfunctioning if they try to generate autodocs from zig test and other similarly cacheable commands.

This requires integrating autodoc correctly with the compiler caching system.

Activity

  1. added
    autodoc
    on May 26, 2023
  2. added this to the 0.11.0 milestone on Jul 22, 2023
  3. added
    bug
    enhancement
    on Jul 22, 2023
  4. self-assigned this
    on Jul 22, 2023
  5. added 3 commits that reference this issue on Jul 22, 2023
    3965f72
    414a076
    5f6fb95
  6. added a commit that references this issue on Jul 22, 2023
    6e4fff6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

autodocbugenhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions