docs: Remove old lazy loading section from readme #341
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docgen | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
docgen: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '^1.17.1' | |
- name: Install md2vim | |
run: go install foosoft.net/projects/md2vim@latest | |
- name: Generate vim docs | |
run: make docs | |
- name: Commit changes | |
env: | |
COMMIT_MSG: | | |
[docgen] Update doc/orgmode.txt | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add doc/orgmode.txt | |
# Only commit and push if we have changes | |
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push) | |
api_docgen: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Neovim | |
uses: rhysd/action-setup-vim@v1 | |
id: neovim | |
with: | |
neovim: true | |
version: v0.7.0 | |
- name: Install lemmy-help | |
run: | | |
curl -Lq https://github.com/numToStr/lemmy-help/releases/latest/download/lemmy-help-x86_64-unknown-linux-gnu.tar.gz | tar xz | |
echo "$PWD" >> $GITHUB_PATH | |
- name: Generate api docs | |
run: make api_docs | |
- name: Commit changes | |
env: | |
COMMIT_MSG: | | |
[docgen] Update doc/orgmode_api.txt | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add doc/orgmode_api.txt | |
# Only commit and push if we have changes | |
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push) |