Skip to content

Add fastapi-offline to support offline FastAPI docs - #5341

Open
imClumsyPanda wants to merge 2 commits into
opendatalab:masterfrom
imClumsyPanda:master
Open

Add fastapi-offline to support offline FastAPI docs#5341
imClumsyPanda wants to merge 2 commits into
opendatalab:masterfrom
imClumsyPanda:master

Conversation

@imClumsyPanda

Copy link
Copy Markdown

Motivation

Add fastapi-offline in cli/fast-api.py to support offline fastapi docs

Modification

add fastapi-offline in cli/fast-api.py and add requirements in pyproject.toml

BC-breaking (Optional)

Does the modification introduce changes that break the backward compatibility of the downstream repositories?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.

Use cases (Optional)

when start minerU-api, docs can be shown in offline environments.

Checklist

Before PR:

  • Pre-commit or other linting tools are used to fix the potential lint issues.
  • Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
  • The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  • The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

  • If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects.
  • CLA has been signed and all committers have signed the CLA in this PR.

@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. enhancement New feature or request labels Jul 29, 2026
@github-actions

github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@imClumsyPanda

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant