Skip to content

Commit eeec43e

Browse files
committed
Attempt to make yard docs config on non-root dir and test it
1 parent 70a4fd0 commit eeec43e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/pages.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- main
6+
- pagesfix
67
workflow_dispatch:
78
permissions:
89
contents: read
@@ -48,7 +49,11 @@ jobs:
4849
- name: Build html documentation for generic_rv64
4950
run: ./do gen:html[generic_rv64]
5051
- name: Generate YARD docs
51-
run: ./do gen:tool_doc
52+
run: |
53+
mkdir -p .xdg_config
54+
export XDG_CONFIG_HOME="$PWD/.xdg_config"
55+
bundle exec yard config --gem-install-yri
56+
./do gen:tool_doc
5257
- name: Create _site/example_cfg
5358
run: mkdir -p _site/example_cfg
5459
- name: Create _site/manual

0 commit comments

Comments
 (0)