This repository has been archived by the owner on May 27, 2021. It is now read-only.
forked from chrissimpkins/cinder
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added option to disable code line wrapping.
- Loading branch information
1 parent
0dc97fa
commit b72d285
Showing
10 changed files
with
31 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
site | ||
build | ||
dist | ||
mkdocs_cinder.egg-info/ | ||
mkdocs_psinder.egg-info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
# Configuration | ||
|
||
### Alternate "Edit on..." Repo Branch | ||
## Alternate "Edit on..." Repo Branch | ||
If you'd like the "Edit on..." link in the footer to point to a branch *other* than master, in the `extra` section of your mkdocs.yml specify `repo_branch: branchName`. | ||
|
||
###Example: "Edit on..." Dev Branch | ||
```yaml | ||
extra: | ||
repo_branch: dev | ||
``` | ||
|
||
## Disable Code Line Wrapping | ||
If you do **not** want code lines to wrap (they do by default), in the `extra` section of your mkdocs.yml specify `nowrap: true`. | ||
This will cause a scroll bar to be added to code blocks which would otherwise wrap. | ||
```yaml | ||
extra: | ||
nowrap: true | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pre { | ||
word-break: keep-all; | ||
word-wrap: normal; | ||
} | ||
pre code { | ||
white-space: pre; | ||
overflow: auto; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from setuptools import setup, find_packages | ||
|
||
VERSION = '0.2.1' | ||
VERSION = '0.3.0' | ||
|
||
|
||
setup( | ||
|