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

Build: remove append_conf _magic_ from MkDocs #11206

Merged
merged 8 commits into from
Apr 16, 2024

Commits on Mar 11, 2024

  1. Build: remove append_conf _magic_ from MkDocs

    Delete all the magic around MkDocs YAML that processes the `mkdocs.yml`.
    
    file and
    define `readthedocs` theme automatically based on a feature flag,
    `MKDOCS_THEME_RTD`.
    
    This PR removes:
    
    - automatically defining `readthedocs` as theme when `MKDOCS_THEME_RTD` feature
      flag is defined.
    - processing `mkdocs.yml` to add internal JS and CSS (embed and analytics) files
      automatically
    
    This is another step forward on removing all the magic we perform on behalf the
    users and being more explicit about how to configure each doctool.
    
    Reference:
    
    * readthedocs/addons#72 (comment)
    
    Closes #8529
    humitos committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    f4a1442 View commit details
    Browse the repository at this point in the history
  2. Enable Addons if project is MkDocs

    Listen to `Project.post_save` signal and enable Addons if the project was
    created after a specific date, it's MkDocs and it's the first time the
    `AddonsConfig` is created.
    humitos committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    e7cbf0e View commit details
    Browse the repository at this point in the history
  3. Listen to Version instead

    humitos committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    a72ca02 View commit details
    Browse the repository at this point in the history
  4. Typo

    humitos committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    2260f26 View commit details
    Browse the repository at this point in the history
  5. Update readthedocs/projects/signals.py

    Co-authored-by: Santos Gallegos <stsewd@proton.me>
    humitos and stsewd committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    90cca93 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Remove datetime restriction

    humitos committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    8d78e5c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8440aab View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Configuration menu
    Copy the full SHA
    6811075 View commit details
    Browse the repository at this point in the history