Currently semgrep documentation lives as Markdown files in the docs/ folder. We have a GitBook instance here: https://docs.semgrep.dev/, but it's unmaintained. As seen in #1004, we're starting to have some growing pains with simple Markdown files in a directory. Let's find a good documentation solution.
Some open questions:
CC @dan5382, @pabloest, and @dlukeomalley to hear their thoughts.
pattern-foo, etc.@DrewDennison was a fan of gitbook but @ievans wasn't.
I like gitbook and docs.semgrep.dev was a thing but there was some un-debugged sync issues so we just reverted to GH as source of truth
I would highly recommend putting the docs as a top-level semgrep.live entry, semgrep.live/docs. Can be markdown/gitbooks integrated into semgrep.live; would make it easy to cross-link from the editor and rule packs.
EDIT: also, we can deploy the docs to semgrep.live as part of the release process when we upgrade the version of semgrep it uses by default.
+1 I like the docs living on semgrep.live/docs
In the short term I believe it鈥檚 important to:
Longer term, say in a month, I think we our docs should be excellent/elegant. IMO this includes:
Point of discussion here may be how to accomplish the short term goals (if there鈥檚 agreement) and how far to push into the longer term goals. For example, Matt proposes moving Markdown files to a hosted Gitbook on docs.semgrep.dev.
Edit: ported this comment from another docs-related issue that is now closed.
Is this done now that semgrep.dev/docs exists? 馃
Yup! Good catch
Most helpful comment
I would highly recommend putting the docs as a top-level semgrep.live entry, semgrep.live/docs. Can be markdown/gitbooks integrated into semgrep.live; would make it easy to cross-link from the editor and rule packs.
EDIT: also, we can deploy the docs to semgrep.live as part of the release process when we upgrade the version of semgrep it uses by default.