Generate config docs from lemmy code#102
Conversation
build.sh
Outdated
| pushd lemmy | ||
| mkdir ../generated | ||
| cargo run -- --print-config-docs >> ../generated/config.hjson | ||
| # replace // comments with # |
|
This still needs to be fixed for the CI. |
7bfa0fa to
7623160
Compare
|
Updated. We also need to update the submodule before deploying, using Edit: i cant get the ci working, git submodule keeps failing with the same error, no matter what i do: |
|
Add the fetch submodule step not in the build script, but in a drone task like you see with joinlemmy |
6cc3cc6 to
362958f
Compare
src/en/federation/lemmy_protocol.md
Outdated
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA9JJ7Ybp/H7iXeLkWFepg\ny4PHyIXY1TO9rK3lIBmAjNnkNywyGXMgUiiVhGyN9yU7Km8aWayQsNHOkPL7wMZK\nnY2Q+CTQv49kprEdcDVPGABi6EbCSOcRFVaUjjvRHf9Olod2QP/9OtX0oIFKN2KN\nPIUjeKK5tw4EWB8N1i5HOuOjuTcl2BXSemCQLAlXerLjT8xCarGi21xHPaQvAuns\nHt8ye7fUZKPRT10kwDMapjQ9Tsd+9HeBvNa4SDjJX1ONskNh2j4bqHHs2WUymLpX\n1cgf2jmaXAsz6jD9u0wfrLPelPJog8RSuvOzDPrtwX6uyQOl5NK00RlBZwj7bMDx\nzwIDAQAB\n-----END PUBLIC KEY-----\n" | ||
| } | ||
| } | ||
| {{#include ../../../lemmy/crates/apub/assets/lemmy-community.json}} |
There was a problem hiding this comment.
These example files all include the full context which is rather long. Might be good to remove that somehow before including.
7c4db8a to
580f344
Compare
|
This is finished. Lets merge it, and then publish a new version of joinlemmy, cause we have procrastinated that far too long. We should update the submodule to include LemmyNet/lemmy#1860 before publishing. |
|
I'm of the opinion that we should just link to these source files, instead of pulling in a submodule. Because look at all of |
|
Okay updated |
Followup for LemmyNet/lemmy#1786. Works fine locally.