Skip to content

Commit

Permalink
Revert "Add/change variables"
Browse files Browse the repository at this point in the history
This reverts commit 4814a2f
  • Loading branch information
zhongjiajie committed Sep 14, 2021
1 parent 4e3a784 commit fea7056
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/source/conf.py
Expand Up @@ -109,13 +109,12 @@ def ultimate_replace(app, docname, source):


SQLFLUFF_RELEASE_FLAG = "|release|"
SQLFLUFF_CODE_SPACE_NUM = 4
SQLFLUFF_SQL_CODE_FLAG = f"{' ' * SQLFLUFF_CODE_SPACE_NUM}.. code-block:: sql"
SQLFLUFF_SQL_CODE_FORCE_FLAG = f"{SQLFLUFF_SQL_CODE_FLAG}\n{' ' * (SQLFLUFF_CODE_SPACE_NUM + 3)}:force:"
SQLFLUFF_SQL_CODE_BLOCK = f"{' ' * 4}.. code-block:: sql"
SQLFLUFF_SQL_CODE_BLOCK_FORCE = f"{SQLFLUFF_SQL_CODE_BLOCK}\n{' ' * (4 + 3)}:force:"

ultimate_replacements = {
SQLFLUFF_RELEASE_FLAG: release,
SQLFLUFF_SQL_CODE_FLAG: SQLFLUFF_SQL_CODE_FORCE_FLAG
SQLFLUFF_SQL_CODE_BLOCK: SQLFLUFF_SQL_CODE_BLOCK_FORCE
}


Expand Down

0 comments on commit fea7056

Please sign in to comment.