Skip to content

Commit b7fc35a

Browse files
authored
[FIX] fix bep rendering (#566)
1 parent d71612c commit b7fc35a

File tree

8 files changed

+131
-87
lines changed

8 files changed

+131
-87
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ output_gh_summary.png
55

66
# ignore for now files that are copied from the bids examples and spe
77
docs/examples/
8-
docs/specification/
8+
docs/extensions/macros_doc.md
99

1010
# folders
1111
*.DS_Store

.remarkignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
docs/collaboration/bids_github/
22
docs/datasets/index.md
3-
docs/specification/macros_doc.md
3+
docs/extensions/macros_doc.md

data/beps/beps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@
529529
- Original issue: [#153](https://github.com/bids-standard/bids-specification/issues/153)
530530
content:
531531
- raw
532-
blocking: None
532+
blocking:
533533
google_doc_created: 2023-09-12
534534
pull_request_created:
535535
pull_request_merged:

docs/collaboration/contributors.md

Lines changed: 122 additions & 80 deletions
Large diffs are not rendered by default.

makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ update_from_spec:
1212
@echo " ---------------------------------- "
1313
rm -fr docs/specification
1414
mkdir -p docs/specification/
15-
cp specification/macros_doc.md docs/specification/macros_doc.md
15+
cp specification/macros_doc.md docs/extensions/macros_doc.md
1616

1717
update_contributors: package.json
1818
@echo " ---------------------------------- "

mkdocs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ plugins:
1818
- open-in-new-tab
1919
- macros:
2020
module_name: macros/main
21+
# toggle to true if you are in CD/CI environment
22+
on_error_fail: true
2123
- redirects:
2224
redirect_maps:
2325
# old links from the old wesbite
@@ -163,7 +165,7 @@ nav:
163165
- extensions/general-guidelines.md
164166
- extensions/specific-guidelines.md
165167
- extensions/submission.md
166-
# - macros: specification/macros_doc.md
168+
- Using MkDocs macros: specification/macros_doc.md
167169
- Impact:
168170
- impact/index.md
169171
- Merch: https://www.teepublic.com/user/bids

templates/beps_table_md.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
| :--------: | :---- | :----- | :----- | :---------- | :------- |
1010
{% endif %}
1111
{% for bep in include %}
12-
| [BEP {{ bep.number }}]({{ bep.link }}) | {% if bep.display %} {{ bep.display }} {% else %} {{ bep.title }} {% endif %} | {% for content in bep.content %} {{ content }} {% endfor %} | {% for person in bep.leads %} {% if person.email %} [{{ person.given-names }} {{ person.family-names }}](mailto:{{ person.email }}) {% else %} {{ person.given-names }} {{ person.family-names }} {% endif %}<br>{% endfor %} | {% if bep.status %} {% for item in bep.status %} - {{ item }} <br>{% endfor %} {% endif %} | {% if bep.blocking %} {% for item in bep.blocking %} - {{ item }} <br>{% endfor %} {% endif %} |
12+
| [BEP {{ bep.number }}]({{ bep.link }}) | {% if bep.display %} {{ bep.display }} {% else %} {{ bep.title }} {% endif %} | {% for content in bep.content %} {{ content }} {% endfor %} | {% for person in bep.leads %} {% if person.email %} [{{ person["given-names"] }} {{ person["family-names"] }}](mailto:{{ person.email }}) {% else %} {{ person["given-names"] }} {{ person["family-names"] }} {% endif %}<br>{% endfor %} | {% if bep.status %} {% for item in bep.status %} - {{ item }} <br>{% endfor %} {% endif %} | {% if bep.blocking %} {% for item in bep.blocking %} - {{ item }} <br>{% endfor %} {% endif %} |
1313
{% endfor %}

0 commit comments

Comments
 (0)