feat: add docs stie for api-testing#469
Merged
LinuxSuRen merged 4 commits intoLinuxSuRen:masterfrom Jun 12, 2024
yuluo-yx:0601-yuluo/add-docs-site
Merged
feat: add docs stie for api-testing#469LinuxSuRen merged 4 commits intoLinuxSuRen:masterfrom yuluo-yx:0601-yuluo/add-docs-site
LinuxSuRen merged 4 commits intoLinuxSuRen:masterfrom
yuluo-yx:0601-yuluo/add-docs-site
Conversation
Signed-off-by: yuluo-yx <yuluo08290126@gmail.com>
LinuxSuRen
reviewed
Jun 1, 2024
LinuxSuRen
reviewed
Jun 1, 2024
Owner
LinuxSuRen
left a comment
There was a problem hiding this comment.
ERROR render of "section" failed: "/home/gitpod/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/google/docsy@v0.7.1/layouts/docs/baseof.html:4:7": execute of template failed: template: docs/list.html:4:7: executing "docs/list.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:52:16: no such template "_internal/google_analytics_async.html"
ERROR render of "page" failed: "/home/gitpod/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/google/docsy@v0.7.1/layouts/docs/baseof.html:4:7": execute of template failed: template: docs/single.html:4:7: executing "docs/single.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:52:16: no such template "_internal/google_analytics_async.html"
Built in 106 ms
Error: error building site: render: failed to render pages: render of "home" failed: "/home/gitpod/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/google/docsy@v0.7.1/layouts/_default/baseof.html:4:7": execute of template failed: template: home.html:4:7: executing "home.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:52:16: no such template "_internal/google_analytics_async.html"
make[1]: *** [tools/make/docs.mk:26: docs-serve] Error 1
make[1]: Leaving directory '/workspace/api-testing'
make: *** [Makefile:19: _run] Error 2
gitpod /workspace/api-testing (0601-yuluo/add-docs-site) $ hugo version
hugo v0.126.2-8f3d902ce51512931f5759e9279d93e346c9e649 linux/amd64 BuildDate=2024-05-30T15:19:22Z VendorInfo=gohugoio
LinuxSuRen
reviewed
Jun 1, 2024
Owner
There was a problem hiding this comment.
Is it possible to avoid maintaining these files in two places? We already have this file in the root directory.
Collaborator
Author
There was a problem hiding this comment.
This doesn't seem like it would work, what's in the project is mandatory, what's in the docs is as well, and you can't bring in the md file from the project root from the docs site
Collaborator
Author
have more informations? |
Signed-off-by: yuluo-yx <yuluo08290126@gmail.com>
yuluo-yx
commented
Jun 2, 2024
| deployments: write | ||
| id-token: write # to verify the deployment originates from an appropriate source | ||
|
|
||
| # Deploy to the github-pages environment |
Signed-off-by: yuluo-yx <yuluo08290126@gmail.com>
|
LinuxSuRen
pushed a commit
that referenced
this pull request
Jun 17, 2024
* chore(deps): update gitea/gitea docker tag to v1.20.5 * Update app version [skip ci] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


run
make docs-servein locally. then you can see: