Skip to content

Commit 23ea882

Browse files
committed
setting yard to nicely
* add webrick for yard server command * always specify --no-private options * add activesupport-concern plugin
1 parent 904b0d2 commit 23ea882

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
ruby-version: ruby
3232
bundler-cache: true
3333

34-
- run: bundle exec yard --no-private
34+
- run: bundle exec yard
3535

3636
- name: Setup Pages
3737
uses: actions/configure-pages@v5

.yardopts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
--private
2+
--no-private
23
--markup markdown
34
--markup-provider redcarpet
5+
--plugin activesupport-concern
46
--default-return void

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,7 @@ gem "steep", require: false
4545

4646
# document.
4747
gem "yard"
48+
gem "yard-activesupport-concern"
49+
gem "webrick"
4850
gem "redcarpet"
4951
gem "github-markup"

0 commit comments

Comments
 (0)