Closed vitropy closed 5 months ago
Currently, the "Edit this page" link at the bottom of each page on the docs site goes to a 404 Not Found error page on GitHub. For example, the Entrosplainer is currently pointing here:
https://github.com/entropyxyz/entropy-docs/docs/basics/entrosplainer.md
But to edit that page, it should point here:
https://github.com/entropyxyz/entropy-docs/edit/main/docs/basics/entrosplainer.md
Note the insertion of edit/main in the URL.
edit/main
This PR adjusts the Docusaurus content plugin's editUrl configuration directive with the correct base path to edit the pages on which the plugin displays its edit button.
editUrl
Currently, the "Edit this page" link at the bottom of each page on the docs site goes to a 404 Not Found error page on GitHub. For example, the Entrosplainer is currently pointing here:
https://github.com/entropyxyz/entropy-docs/docs/basics/entrosplainer.md
But to edit that page, it should point here:
https://github.com/entropyxyz/entropy-docs/edit/main/docs/basics/entrosplainer.md
Note the insertion of
edit/main
in the URL.This PR adjusts the Docusaurus content plugin's
editUrl
configuration directive with the correct base path to edit the pages on which the plugin displays its edit button.