entropyxyz / entropy-docs

Documentation for Entropy.
https://docs.entropy.xyz
GNU Affero General Public License v3.0
3 stars 1 forks source link

Fix "Edit this page" link on all generated markdown pages #101

Closed vitropy closed 5 months ago

vitropy commented 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.

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.