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

Use the new labels mechanism in docs guide reorganization #1464

Merged
merged 3 commits into from
May 31, 2024

Conversation

Eric-Arellano
Copy link
Collaborator

This also improves the patterns index pages:

  • adds missing metadata
  • uses dedent() so the code is easier to modify
  • Adds an h2 Guides

Copy link
Collaborator

@arnaucasau arnaucasau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Eric!

scripts/patterns-reorg/page_content.py Outdated Show resolved Hide resolved
scripts/patterns-reorg/page_content.py Outdated Show resolved Hide resolved
scripts/patterns-reorg/page_content.py Outdated Show resolved Hide resolved


def postprocess_index_content(index: str) -> str:
return (
"# Post-process results\n\n"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that all the other sections preserve the title except this one. Is this intentional?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, oops. Good catch!

Co-authored-by: Arnau Casau <47946624+arnaucasau@users.noreply.github.com>
@Eric-Arellano Eric-Arellano enabled auto-merge May 31, 2024 11:54
@Eric-Arellano Eric-Arellano added this pull request to the merge queue May 31, 2024
Merged via the queue into main with commit aa3cf10 May 31, 2024
2 checks passed
@Eric-Arellano Eric-Arellano deleted the EA/labels branch May 31, 2024 12:03
frankharkins pushed a commit to frankharkins/documentation that referenced this pull request Jul 22, 2024
This also improves the patterns index pages:

* adds missing metadata
* uses `dedent()` so the code is easier to modify
* Adds an h2 `Guides`

---------

Co-authored-by: Arnau Casau <47946624+arnaucasau@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants