Skip to content

Commit 5c9dd1a

Browse files
Gutstimvink
authored andcommitted
Enlarge tests fixtures
1 parent 780268d commit 5c9dd1a

File tree

7 files changed

+54
-8
lines changed

7 files changed

+54
-8
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ipython_config.py
2121
.AppleDouble
2222
.LSOverride
2323
# Icon must end with two \r
24-
Icon
24+
Icon
2525
# Thumbnails
2626
._*
2727
# Files that might appear in the root of a volume
@@ -518,3 +518,7 @@ healthchecksdb
518518
MigrationBackup/
519519
# End of https://www.gitignore.io/api/r,macos,python,pycharm,windows,visualstudio,jupyternotebooks
520520
.vscode/
521+
522+
# VS Code custom
523+
.venv/
524+
tests/basic_setup/site

tests/basic_setup/docs/index.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
# Test page
1+
# Test with plugin tags
22

3-
Markdown tag: {{ git_authors_summary }}
3+
Page authors: {{ git_page_authors }}
4+
5+
----
6+
7+
Site authors: {{ git_site_authors }}
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
# Second Test page
1+
# Page with plugin tag
22

3-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
3+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
4+
5+
## Content
6+
7+
Markdown tag: {{ git_authors_summary }}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# test page
1+
# Test page without tag
22

3-
this page has no git authors tag
3+
this page has no git authors tag
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{% extends "base.html" %}
2+
3+
{% block disqus %}
4+
<div class="md-source-date">
5+
<small>
6+
Authors: {{ git_authors_summary }}
7+
<br>
8+
Old tag: {{ git_page_authors }}
9+
</small>
10+
</div>
11+
{% include "partials/integrations/disqus.html" %}
12+
{% endblock %}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
site_name: test gitauthors_plugin with material theme and git-revision-date
2+
use_directory_urls: true
3+
4+
theme:
5+
name: 'material'
6+
custom_dir: 'docs/theme'
7+
language: nl
8+
9+
plugins:
10+
- search
11+
- git-authors:
12+
count_empty_lines: false
13+
show_contribution: true
14+
show_line_count: true
15+
- git-revision-date-localized

tests/test_requirements.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1+
# testing
12
pytest
23
pytest-cov
34
codecov
5+
6+
# sub-libs
47
click
58
GitPython
6-
mkdocs
9+
10+
# mkdocs
11+
mkdocs
12+
mkdocs-git-revision-date-localized-plugin
13+
mkdocs-material

0 commit comments

Comments
 (0)