Skip to content

Commit

Permalink
docs: add docs for docfx environment variables (#9020)
Browse files Browse the repository at this point in the history
  • Loading branch information
filzrev authored Jul 28, 2023
1 parent dd59353 commit 95c642f
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
href: ../reference/docfx-cli-reference.md
- name: Docfx.json configuration reference
href: ../reference/docfx-json-reference.md
- name: Docfx environment variables reference
href: ../reference/docfx-environment-variables-reference.md
- name: Links and Cross References
href: ../tutorial/links_and_cross_references.md
- name: Overwrite Files
Expand Down
29 changes: 29 additions & 0 deletions docs/reference/docfx-environment-variables-reference.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
uid: docfx_environment_variables_reference
title: docfx environment variables reference
---

# Docfx environment variables

## `DOCFX_KEEP_DEBUG_INFO`

If set true. Keep following debug info in output HTML.
- `sourceFile`
- `sourceStartLineNumber`
- `sourceEndLineNumber`
- `jsonPath`
- `data-raw-source`
- `nocheck`

## `DOCFX_GIT_TIMEOUT`

Used to overide git command timeout. (Default: `10,000` [ms])

## `DOCFX_SOURCE_BRANCH_NAME`

Used to override git branch name.

## `DOCFX_NO_CHECK_CERTIFICATE_REVOCATION_LIST`

Used to disable CRL check.
This setting is intended to be used on offline environment.

0 comments on commit 95c642f

Please sign in to comment.