mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-05 08:40:08 +00:00
Build docs in netlify with docfx
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
[build]
|
||||
# Directory to change to before starting a build.
|
||||
# This is where we will look for package.json/.nvmrc/etc.
|
||||
|
||||
# Directory (relative to root of your repo) that contains the deploy-ready
|
||||
# HTML files and assets generated by the build. If a base directory has
|
||||
# been specified, include it in the publish directory path.
|
||||
publish = "doc/_site"
|
||||
|
||||
# Default build command.
|
||||
command = '''
|
||||
./gradlew generateApiDocs && \
|
||||
docker build -t docfx -f docs/Dockerfile &&
|
||||
docker run -v `pwd`:/srv/project docfx:latest -- docs/
|
||||
'''
|
||||
Reference in New Issue
Block a user