Skip to content

Conversation

Matthieu-LAURENT39
Copy link
Contributor

This PR hides the # before all annotations in code blocks for the documentation.
It's just a graphical change, the source code doesn't actually change

I initially also removed a space before the inline comment, changing from 2 to 1 space. It looked slightly better, but PEP8 does specify you need at least 2 spaces before an inline comment, so i played it safe and kept it at 2 spaces.
I did however keep the changes stashed, if you want.

@github-actions
Copy link
Contributor

📝 Docs preview for commit ab08cbd at: https://10066f61.sqlmodel.pages.dev

@tiangolo tiangolo changed the title Hide # in annotations 🎨 Update inline source examples, hide # in annotations (from MkDocs Material) Oct 29, 2023
@tiangolo
Copy link
Member

Thanks @Matthieu-LAURENT39! 🎉 ☕

@tiangolo tiangolo enabled auto-merge (squash) October 29, 2023 07:22
@github-actions
Copy link
Contributor

📝 Docs preview for commit ec31941 at: https://5665f8a3.sqlmodel.pages.dev

@tiangolo tiangolo merged commit 9632980 into fastapi:main Oct 29, 2023
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