Skip to content

Commit b8ac034

Browse files
committed
Consolidate building of API and book docs
This also adjusts some API doc settings and removes various options where we were supplying default values.
1 parent a887e0e commit b8ac034

File tree

2 files changed

+12
-30
lines changed

2 files changed

+12
-30
lines changed

Makefile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ mkdocs:
4949
exit 1; \
5050
fi
5151

52-
docs-api: apigen
53-
54-
docs: mkdocs
55-
5652
release/%: release-log/%
5753
@echo "Please run:"
5854
@echo " " git add RELEASE-$(*)
@@ -61,8 +57,7 @@ release/%: release-log/%
6157
@echo " " git push --tags
6258
@echo " " make release-docs
6359

64-
docs:
65-
mkdocs build --clean
60+
docs: mkdocs apigen
6661

6762
release-docs: docs
6863
mkdocs gh-deploy --clean

apigen.neon

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,23 @@
11
source:
2-
- src
3-
4-
destination: api
5-
extensions:
6-
- php
7-
8-
exclude:
9-
- tests/
10-
- vendor/
11-
12-
skipDocPath:
13-
- * <mask>```
14-
2+
- src
3+
4+
destination: site/api
5+
156
charset:
16-
- UTF-8
17-
7+
- UTF-8
8+
189
main: MongoDB PHP library
1910
title: MongoDB PHP library
2011
baseUrl: http://10gen-labs.github.io/mongo-php-libraries-prototype
2112
googleCseId: null
2213
googleAnalytics: null
2314
templateTheme: bootstrap
2415
templateConfig: null
25-
groups: auto
26-
27-
accessLevels:
28-
- public
29-
30-
internal: false
31-
php: true
32-
sourceCode: true
33-
tree: true
16+
3417
deprecated: false
18+
internal: false
3519
todo: false
20+
21+
php: false
22+
tree: true
3623
download: false

0 commit comments

Comments
 (0)