Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include api-extractor output in docs Dockerfile #1116

Merged
merged 1 commit into from
Feb 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*
!*.json
!.npmrc
!_api-extractor-temp/**
!LICENSE.txt
!packages/**
!samples/chaincode/**
Expand Down
2 changes: 1 addition & 1 deletion docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COPY . .

# Convert the json to markdown
WORKDIR /
RUN npm install -g @microsoft/api-documenter@^7.4.6
RUN npm install -g @microsoft/api-documenter@^7.4.6 copyfiles@^2.1.0
RUN npm run build:gendocs

#############################
Expand Down
6 changes: 3 additions & 3 deletions server/routerlicious/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"build": "npm run policy-check && npm run build:genver && npm run build:compile && npm run tslint && npm run build:docs",
"build:ci": "npm run build:genver && lerna run build:compile:min --stream",
"build:compile": "lerna run build:compile --stream",
"build:docs": "npm run clean:docs && lerna run build:docs --stream --parallel && npm run build:gendocs",
"build:docs": "lerna run build:docs --stream --parallel",
"build:fast": "node ../../tools/fluid-build/dist/fluidBuild.js --root ../.. --server",
"build:full": "npm run build:genver && npm run build:full:compile && npm run tslint && npm run build:docs",
"build:full:compile": "lerna run build:full:compile --stream",
"build:gendocs": "api-documenter yaml -i _api-extractor-temp/doc-models -o docs/api",
"build:gendocs": "api-documenter markdown -i _api-extractor-temp/doc-models -o docs/api",
"build:genver": "lerna run build:genver --stream --parallel",
"bump-version": "lerna version minor --no-push --no-git-tag-version && npm run build:genver",
"clean": "lerna run clean --stream --parallel && npm run clean:docs && npm run clean:nyc",
"clean:docs": "rimraf _api-extractor-temp docs/api/*/**",
"clean:docs": "rimraf **/_api-extractor-temp docs/api/*/**",
"clean:nyc": "rimraf nyc/**",
"docker-build": "docker-compose build",
"docker-clean": "docker-compose down --rmi local && docker volume prune --force",
Expand Down