Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] mkdocs only sees generated files after the second generation #1

Open
bczsalba opened this issue May 26, 2022 · 1 comment
Open
Labels
bug Something isn't working

Comments

@bczsalba
Copy link
Owner

Describe the bug
When generating from a clear tree (e.g. docs/assets is empty), the first run will have mkdocs complain about links to non-detected files:

Screenshot 2022-05-26 at 8 45 41

To Reproduce
Steps to reproduce the behavior:

  1. Run rm -rf docs/assets/*
  2. Run mkdocs serve
  3. Look at the terminal output and see warnings

If the development server is killed and restarted, the problem goes away.

Expected behavior
The files should be detected on first run.

Platform info
Browser: All

PTG:

PyTermGUI version 6.2.1

System details:
    Python version: 3.9.12
    $TERM:          xterm-kitty
    $COLORTERM:     truecolor
    Color support:  ColorSystem.TRUE
    OS Platform:    macOS-12.3.1-arm64-arm-64bit
@bczsalba bczsalba added the bug Something isn't working label May 26, 2022
@bczsalba
Copy link
Owner Author

This could be fixed by adding File instances to the Files collection MkDocs generates, but documentation around it is sparse and I haven't figured out how to yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant