Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

[docs] updated absolute routes to local routes#27004

Merged
jacobcreech merged 1 commit intosolana-labs:masterfrom
nickfrosty:fixed-local-routing
Aug 8, 2022
Merged

[docs] updated absolute routes to local routes#27004
jacobcreech merged 1 commit intosolana-labs:masterfrom
nickfrosty:fixed-local-routing

Conversation

@nickfrosty
Copy link
Copy Markdown
Contributor

Problem

The docs have a few places where absolute URLs are used to link to internal docs pages. This can lead to people browsing updated docs on the edge or beta docs sites to be redirected away from the docs version they are browsing.

These internal links should be using the relative file structure to link to internal docs pages (all the relative links are auto-resolved when Docusaurus builds the various docs site versions)

Summary of Changes

  • changed various absolute urls to use relative urls based on the file structure
  • minor formatting changes due to auto-formatting
  • updated images on the integrations/retrying-transactions to use the relative file structure (which is auto resolved for builds with Docusaurus)

@mergify mergify Bot added the community Community contribution label Aug 8, 2022
@mergify mergify Bot requested a review from a team August 8, 2022 20:47
@jacobcreech jacobcreech requested review from jacobcreech and removed request for a team August 8, 2022 20:58
Copy link
Copy Markdown
Contributor

@jacobcreech jacobcreech left a comment

Choose a reason for hiding this comment

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

Thanks for the update!

@jacobcreech jacobcreech merged commit c7a9978 into solana-labs:master Aug 8, 2022
@nickfrosty nickfrosty deleted the fixed-local-routing branch August 9, 2022 18:59
yihau added a commit that referenced this pull request Sep 26, 2022
* [docs] Adding content pages under "developing" section (#26816)

* feat: added intro to dApps and programs pages

* style: removed whitespaces and updates MD syntax

* fix: spellcheck

* feat: what is rent page

* fix: fix typos and removed whitespaces

* fix: updated terminolgy

* feat: added what is web 3 page

* fix: removed dapps and web3 pages

* feat: added links to the developing sidebar

* fix: updated text based on comments

* fix: fixed link

* fix: fixed the incorrect/unknown redirects (#26844)

* docs: updated "transaction fees" page (#26861)

* docs: transaction fees, compute units, compute budget

* docs: added messages definition

* Revert "docs: added messages definition"

This reverts commit 3c56156.

* docs: added messages definition

* Update docs/src/transaction_fees.md

Co-authored-by: Jacob Creech <82475023+jacobcreech@users.noreply.github.com>

* fix: updates from feedback

Co-authored-by: Jacob Creech <82475023+jacobcreech@users.noreply.github.com>

* docs: updated absolute routes to local routes (#27004)

* [docs] Docs sidebar/navbar restructure (#27005)

* fix: minor title changes

* fix: updated structure of 2 pages

* fix: proposals page and submitting one

added proposals page and made it clear how to submit one

* fix: minor update to docs home page

* fix: footer links

added more footer links and minor restructure

* fix: sidebar restructure

* fix: removed duplicate geyser link

* fix: sidebars and navbar

final separation of sidebars and updated navbar

* fix: formatting for the navbar icons

* fix: changes some sidebar links to refs

* style: changed order of footer's SPL link

* style: removed comment and fixed whitespace check

* [docs] added commitment page (#27265)

feat: added commitment doc

* [docs] developers home page (#27436)

* feat: developers landing page

* fix: updated links

* fix: updated labels for translateIds

* refactor: updated index page to use Card component

* style: removed whitespace

* refactor: added static labels for developer sidebar items

* feat: developer's sidebar and new layout file

* chore: removed whitespace

* fix: removed duplicate CLI sidebar item

* fix: card shadows and RPC card text

* [docs] quickstart guides (#27592)

* feat(wip): rust quickstart page

* feat: added quickstart pages

* fix: updated cards and card layout

* feat: added quickstart home (and to sidebar )

* fix: updated quickstarts

* fix: renamed to get started

* fix: typos and seo

* fix: JS example to interact with the onchain program

* fix empty link

Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
Co-authored-by: nickfrosty <nfrostbutter@gmail.com>
Co-authored-by: Jacob Creech <82475023+jacobcreech@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

community Community contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants