Plutonomicon / plutonomicon

Advanced techniques in the plutus smart contract language
https://plutonomicon.github.io/plutonomicon/
MIT License
202 stars 44 forks source link

Move content to ./content #29

Closed srid closed 2 years ago

srid commented 2 years ago

Keep all source content (Markdown files) under a subdirectory, ./content, such that we can run the website-generator Emanote on it directly. This prevents things like LICENSE.md, flake.nix, etc. from being copied over to the website.

(Also add a title metadata to index/README)

README is now a symlink to ./content/index.md - so it is equivalent to the website index.

Note: This PR impacts links to this repo from other places (eg: Plutarch, Pluto docs); may I suggest that we link to the generated website instead?

L-as commented 2 years ago

I am honestly not in favor of this change. In addition, AFAICT, we are legally required to present the license on the website.

L-as commented 2 years ago

You're probably better off filtering out all *.nix files.

srid commented 2 years ago

You're probably better off filtering out all *.nix files.

Works for me.