Skip to content

Commit

Permalink
Merge pull request #94 from Mapotempo/add_yarddoc
Browse files Browse the repository at this point in the history
add yard doc
  • Loading branch information
giallon committed Jun 27, 2024
2 parents af90425 + 08f02cf commit c4067e5
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 c4067e5

Please sign in to comment.