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

improve source locations for auxiliary packages in docs #6749

Merged
merged 1 commit into from Jul 19, 2023

Conversation

davidhewitt
Copy link
Contributor

@davidhewitt davidhewitt commented Jul 19, 2023

Change Summary

Currently the source paths for auxiliary packages such as pydantic_core include a .venv prefix. This is an experiment to see if it removes that prefix.

Related issue number

N/A

Checklist

  • The pull request title is a good summary of the changes - it will be used in the changelog
  • Unit tests for the changes exist
  • Tests pass on CI
  • Documentation reflects the changes where applicable
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Selected Reviewer: @adriangb

@cloudflare-pages
Copy link

cloudflare-pages bot commented Jul 19, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3570ffb
Status: ✅  Deploy successful!
Preview URL: https://7fb948b9.pydantic-docs2.pages.dev
Branch Preview URL: https://dh-docs-source-paths.pydantic-docs2.pages.dev

View logs

@davidhewitt
Copy link
Contributor Author

Looks like this works well.

See e.g. https://5b69d461.pydantic-docs2.pages.dev/api/pydantic_core_schema/#pydantic_core.core_schema.any_schema

image

Compare this to the current live docs:

image

@davidhewitt davidhewitt marked this pull request as ready for review July 19, 2023 13:32
@davidhewitt
Copy link
Contributor Author

please review

@davidhewitt davidhewitt merged commit c588b5d into main Jul 19, 2023
48 checks passed
@davidhewitt davidhewitt deleted the dh/docs-source-paths branch July 19, 2023 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants