Skip to content

Commit 77113d3

Browse files
committed
fix: some styling corrections
Signed-off-by: Henry Schreiner <[email protected]>
1 parent e9dafb5 commit 77113d3

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

{{cookiecutter.project_name}}/docs/{% if cookiecutter.docs == 'mkdocs' %}index.md{% endif %}

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
# {{ cookiecutter.project_name }}
22

3-
Here you can document whatever you'd like on your main page. Common choices include installation instructions, a minimal usage example, BibTex citations, and contribution guidelines.
3+
Here you can document whatever you'd like on your main page. Common choices
4+
include installation instructions, a minimal usage example, BibTex citations,
5+
and contribution guidelines.
46

5-
See [this link](https://squidfunk.github.io/mkdocs-material/reference/) for all the easy references and components you can use with mkdocs-material, or feel free to go through through [from the top](https://squidfunk.github.io/mkdocs-material/).
7+
See [this link](https://squidfunk.github.io/mkdocs-material/reference/) for all
8+
the easy references and components you can use with mkdocs-material, or feel
9+
free to go through through [from the
10+
top](https://squidfunk.github.io/mkdocs-material/).
611

712
## Installation
813

@@ -11,6 +16,3 @@ You can install this package via running:
1116
```bash
1217
pip install {{ cookiecutter.__project_slug }}
1318
```
14-
15-
16-

{{cookiecutter.project_name}}/noxfile.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
from __future__ import annotations
22

3+
{%- if cookiecutter.docs == 'sphinx' %}
34
import argparse
5+
{%- endif %}
46
import shutil
57
from pathlib import Path
68

@@ -46,6 +48,8 @@ def tests(session: nox.Session) -> None:
4648

4749

4850
{%- if cookiecutter.docs == 'sphinx' %}
51+
52+
4953
@nox.session(reuse_venv=True, default=False)
5054
def docs(session: nox.Session) -> None:
5155
"""
@@ -97,6 +101,8 @@ def build_api_docs(session: nox.Session) -> None:
97101

98102

99103
{%- elif cookiecutter.docs == 'mkdocs' %}
104+
105+
100106
@nox.session(reuse_venv=True, default=False)
101107
def docs(session: nox.Session) -> None:
102108
"""
@@ -109,6 +115,8 @@ def docs(session: nox.Session) -> None:
109115

110116

111117
{%- endif %}
118+
119+
112120
@nox.session(default=False)
113121
def build(session: nox.Session) -> None:
114122
"""

0 commit comments

Comments
 (0)