Logo
Explore Help
Register Sign In
code/avo
1
0
Fork 0
You've already forked avo
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
956d98e549c21642ee8bd0a825dcacd02edc629a
avo/script/doc

10 lines
220 B
Plaintext
Raw Normal View History

doc: scripts to run embedmd on markdown files This will help keep READMEs in sync with code. Also adds a README for the add example. Updates #14
2018-12-31 20:25:29 -08:00
#!/bin/bash -ex
doc: generate README with docgen tool (#251) Introduces a docgen tool for templated documentation generation, and uses it to generate the README. At the moment this change makes minimal difference to generating it with embedmd. The difference is that docgen opens up the possibility to generate documentation with more elaborate templating. The specific use case currently in mind is including an adopters list that's kept in sync with the third-party packages file. Updates #101
2022-04-17 19:41:29 -07:00
# Generate some specific files with docgen.
go install ./internal/cmd/docgen
docgen -type readme -output README.md
# Process simple file embeddings with embedmd.
doc: scripts to run embedmd on markdown files This will help keep READMEs in sync with code. Also adds a README for the add example. Updates #14
2018-12-31 20:25:29 -08:00
find . -name '*.md' | xargs embedmd -w
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 74ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API