-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
refactor: docs path updates #17459
refactor: docs path updates #17459
Conversation
existingPath.replace('/run-node', '/user/run-node'), | ||
existingPath.replace('/validate', '/user/validate') | ||
]; | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added this in here so its uniform with the docs docusaurus.js, should be able to be deleted later
0324bb8
to
c4791bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some links are still broken. I still do not understand the README renaming changes, given that docusaurus know how to display this properly: https://docusaurus.io/docs/next/sidebar/autogenerated#category-index-convention
docs/pre.sh
Outdated
|
||
## Add modules page list | ||
cat ../x/README.md | sed 's/\.\.\/docs\/building-modules\/README\.md/\/building-modules\/intro\.html/g' > ./docs/modules/README.md | ||
cat ../x/README.md | sed 's/\.\.\/docs\/build\/building-modules\/README\.md/\/building-modules\/intro\.html/g' > ./docs/build/modules/"$MODDOC/$(basename "$D").md" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should still be ./docs/modules/README.md
instead of this for this line, as mentioned above.
docs/pre.sh
Outdated
rm -rf $MODDOC | ||
mkdir -p $MODDOC && cp -r $D/README.md "$_" | ||
mkdir -p $MODDOC && cp -r $D/README.md "$MODDOC/$(basename "$D").md" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still do not understand why they cannot stay as README.md.
Docusaurus will render those properly and this avoids the link breakage you have in modules docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, okay. The reason I added this in was bc it was reading as README.md when i built. But trust you and ill remove those then
@julienrbrt suggestions on this last link |
docs/docs/packages/README.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it deleted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicated - is already in build
docs/docs/tooling/README.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it deleted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicated - is already in build
This link is fine as it is an example, that is even commented, so it won't render. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
id say lets merge it then test it on the other repo and see how it works. everything looks good now
@Mergifyio backport release/v0.50 |
❌ No backport have been created
GitHub error: |
@Mergifyio backport release/v0.50.x |
✅ Backports have been created
|
Co-authored-by: Julien Robert <julien@rbrt.fr> Co-authored-by: Marko <marko@baricevic.me> Co-authored-by: marbar3778 <marbar3778@yahoo.com> (cherry picked from commit f198ea9) # Conflicts: # .github/workflows/deploy-docs.yml # UPGRADING.md # docs/docs/build/building-modules/01-module-manager.md # docs/docs/build/building-modules/06-keeper.md # docs/docs/develop/advanced/00-baseapp.md # docs/rfc/README.md
Co-authored-by: Julien Robert <julien@rbrt.fr> Co-authored-by: Marko <marko@baricevic.me> Co-authored-by: marbar3778 <marbar3778@yahoo.com> (cherry picked from commit f198ea9) # Conflicts: # .github/workflows/deploy-docs.yml # UPGRADING.md # docs/docs/build/building-modules/01-module-manager.md # docs/docs/build/building-modules/06-keeper.md # docs/docs/develop/advanced/00-baseapp.md # docs/rfc/README.md
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Marko <marbar3778@yahoo.com> Co-authored-by: samricotta <samanthalricotta@gmail.com>
Description
Closes: #17458
Closes: #17380
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
make lint
andmake test
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change