Feat: Add Reference Docs Versioning - #1663
Open
buzzamus wants to merge 1 commit into
Open
Conversation
Dependency ReviewThe following issues were found:
Scanned Files
|
Contributor
|
Can you give me a context why the decision was made to move the docs into a separate branch? |
Contributor
Author
Yep! I sent you the document on the outlined possible solutions. This idea that was settled on was to match what iOS already does, which moves docs off of |
noguier
approved these changes
Aug 5, 2026
| exit 1 | ||
| fi | ||
|
|
||
| if ! git -C "${REPO_ROOT}" worktree list --porcelain | grep -qx "worktree ${WORKTREE_DIR}"; then |
Contributor
There was a problem hiding this comment.
The script looks great, but i have difficulty parsing through this conditions.
As far as I understand we first check if this directory already exist,
if not we check if the local branch with that name exists,
if it does we add it to the new folder,
if not we create a orphaned new branch.
Is that roughly correct?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of changes
reference-docsbranch via the new publish-docs.sh script.A follow up PR to generate the docs will follow once this is merged to remove docs/ and then switch over to new docs.
./scripts/publish-docs.sh 5.30.0-testpython3 -m http.server 8000and then go to http://localhost:8000/ → should redirect to current/index.html and then also try http://localhost:8000/5.30.0-test/AI Usage
Which AI Agent Was Used?
How was AI used?
Used for initial research, creating bash script to mimic iOS docs behavior
Estimated AI Code Contribution
Checklist
Authors