-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Define revealjs_use_index to set False as default
Inludes these - implementation - test cases - document - changelog BREAKING CHANGE: Default value is not compatible for 1.x Refs: #104
- Loading branch information
Showing
7 changed files
with
39 additions
and
0 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
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,11 @@ | ||
"""Test cases for generating giles.""" | ||
import pytest | ||
from sphinx.testing.util import SphinxTestApp | ||
|
||
|
||
@pytest.mark.sphinx( | ||
"revealjs", testroot="default", confoverrides={"revealjs_use_index": True} | ||
) | ||
def test_generating_genindex(app: SphinxTestApp, status, warning): # noqa | ||
app.build() | ||
assert (app.outdir / "genindex.html").exists() |
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,9 @@ | ||
"""Test cases for generating giles.""" | ||
import pytest | ||
from sphinx.testing.util import SphinxTestApp | ||
|
||
|
||
@pytest.mark.sphinx("revealjs", testroot="default") | ||
def test_not_generate_genindex(app: SphinxTestApp, status, warning): # noqa | ||
app.build() | ||
assert not (app.outdir / "genindex.html").exists() |