Skip to content

Commit

Permalink
add yard doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Giallombardo Nathan committed Jun 27, 2024
1 parent af90425 commit 08f02cf
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ jobs:
run: |
cd docs/
make html
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 2.7
- name: Yard Doc build
run: |
bundle exec yard
- name: Merge Doc
run: |
mv yard_docs/* docs/_build/html/api
- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ bin
Gemfile-custom
vendor
couchbase
yard_docs

*.gem
rubocop_cache
1 change: 1 addition & 0 deletions .yardopts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-o yard_docs
3 changes: 2 additions & 1 deletion docs/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ Ruby.

installation-configuration
schema-configuration
working-with-data
working-with-data
API <https://mapotempo.github.io/couchbase-orm/api/>

0 comments on commit 08f02cf

Please sign in to comment.