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

Format docs for import #48

Merged
merged 2 commits into from
May 5, 2023
Merged

Format docs for import #48

merged 2 commits into from
May 5, 2023

Conversation

tpdorsey
Copy link
Contributor

@tpdorsey tpdorsey commented May 4, 2023

Formats the index.md page so it can be imported into pydantic docs using https://github.com/fire1ce/mkdocs-embed-external-markdown.

Current the plugin assumes the first line is a heading and strips it. This adds a blank line so no stripping occurs. Same workaround could be handled by adding a # Pydantic Settings heading, which might be something to do in the future.

@codecov-commenter
Copy link

codecov-commenter commented May 4, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (4d0a83e) 95.37% compared to head (ecc6779) 95.37%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #48   +/-   ##
=======================================
  Coverage   95.37%   95.37%           
=======================================
  Files           5        5           
  Lines         303      303           
  Branches       78       78           
=======================================
  Hits          289      289           
  Misses         12       12           
  Partials        2        2           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@@ -1,3 +1,4 @@

Copy link
Member

Choose a reason for hiding this comment

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

Isn't it better to use # Pydantic Settings as you suggested in PR body?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think we'll expand these docs in a future PR and can address headings at that time.

@tpdorsey tpdorsey merged commit 9d8c9a1 into main May 5, 2023
18 checks passed
@tpdorsey tpdorsey deleted the docs-import branch May 5, 2023 13:33
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.

None yet

3 participants