generated from google/docsy-example
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Supports to publish docs in workflow (#28)
1. Update workflow 2. Fix the bug on links in docs 3. Make Chinese default see issue: #27
- Loading branch information
Showing
194 changed files
with
7,087 additions
and
37,997 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- master # Set a branch to deploy | ||
pull_request: | ||
|
||
jobs: | ||
deploy: | ||
name: "Deploy Capa.io Pages" | ||
runs-on: ubuntu-20.04 | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
steps: | ||
- name: "Checkout source code" | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive # Fetch the Docsy theme | ||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | ||
|
||
- name: "Setup Hugo" | ||
uses: peaceiris/actions-hugo@v2 | ||
with: | ||
hugo-version: '0.83.0' | ||
extended: true | ||
|
||
- name: "Setup Node" | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14' | ||
|
||
- name: "Cache dependencies" | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
- name: "Install dependencies" | ||
run: npm install | ||
|
||
- name: "Build" | ||
run: hugo --minify | ||
|
||
- name: "Deploy" | ||
uses: peaceiris/actions-gh-pages@v3 | ||
if: ${{ github.ref == 'refs/heads/master' }} # Deploy in master branch only | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |
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
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1 @@ | ||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> | ||
<channel> | ||
<title>Capa – About Goldydocs</title> | ||
<link>https://reactivegroup.github.io/capa.io/about/</link> | ||
<description>Recent content in About Goldydocs on Capa</description> | ||
<generator>Hugo -- gohugo.io</generator> | ||
|
||
<atom:link href="https://reactivegroup.github.io/capa.io/about/index.xml" rel="self" type="application/rss+xml" /> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</channel> | ||
</rss> | ||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Capa – About Capa</title><link>https://reactivegroup.github.io/capa.io/about/</link><description>Recent content in About Capa on Capa</description><generator>Hugo -- gohugo.io</generator><atom:link href="https://reactivegroup.github.io/capa.io/about/index.xml" rel="self" type="application/rss+xml"/></channel></rss> |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+27.2 KB
..._hu69849a7cdb847c2393a7b3a7f6061c86_387442_250x125_fill_catmullrom_smart1_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+102 KB
..._hu69849a7cdb847c2393a7b3a7f6061c86_387442_600x300_fill_catmullrom_smart1_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+92.1 KB
...set-get_hu69849a7cdb847c2393a7b3a7f6061c86_387442_640x0_resize_catmullrom_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
478 changes: 15 additions & 463 deletions
478
docs/blog/2018/10/06/easy-documentation-with-docsy/index.html
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.