Skip to content

Commit 510f9c9

Browse files
authored
Added Readthedocs.org configuration
The package documentation will be available at <https://rubytree.readthedocs.io/en/>.
1 parent c71a151 commit 510f9c9

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.readthedocs.yaml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the version of Ruby and other tools you might need
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
ruby: "3.3"
13+
commands:
14+
- gem install bundler -v 2.3
15+
- bundle install
16+
- bundle exec rake doc:yard
17+
- mkdir -p $READTHEDOCS_OUTPUT/html
18+
- cp -r doc/. $READTHEDOCS_OUTPUT/html/
19+

0 commit comments

Comments
 (0)