forked from UNFmontreal/Dcm2Bids
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
99 lines (80 loc) · 3.42 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[tool.portray]
modules = ["dcm2bids"]
# docs_dir = ["docs"]
# extra_dirs = ["media", "art"]
[tool.portray.mkdocs]
# Repository
repo_name = "UNFmontreal/dcm2bids" # Name in top right corner
# Set repo_url so anyone running from their own repo can see from true dcm2bids repo.
repo_url = "https://github.com/UNFmontreal/Dcm2Bids"
edit_uri = "blob/master/" # Bring to the page on GH, but it won't open the _edit_ mode.
# Left navigation menu
nav = [{ Home = "README.md"},
{ "Code of conduct" = "CODE_OF_CONDUCT.md" },
{ "Contributing" = "CONTRIBUTING.md"},
{ "1. Usage" = "docs/1-usage.md"},
{ "2. Tutorial" = "docs/2-tutorial.md"},
{ "3. Configuration" = "docs/3-configuration.md"},
{ "4. Advance" = "docs/4-advance.md"},
{ "Changelog" = "CHANGELOG.md"}]
extra_css = ["docs/stylesheets/extra.css"] # To fix some colors in light vs slate mode.
# Add a bunch of markdown extensions to improve the documentation (and the look ;)).
# See https://squidfunk.github.io/mkdocs-material/reference/abbreviations/
# for full list of extensions.
markdown_extensions = ["admonition",
"footnotes",
"pymdownx.emoji",
"pymdownx.caret",
"pymdownx.mark",
"pymdownx.tilde",
"pymdownx.details",
"pymdownx.superfences",
"pymdownx.tabbed"]
# TODO: Implement plugin so git info is displayed on each page,
# issue has been open on portray to fix the bug.
# plugins = ["git-revision-date", "git-revision-date-localized", "bibtext"]
[tool.portray.mkdocs.theme]
name = "material"
# Blurb that is output when the doc site is shared on social media or elsewhere.
site_description = """
This is the documentation for dcm2bids, a community-centered project
that aims to be an easy-to-use tool to automate the process of 1- converting
DICOM files to NIfTI files with dcm2niix and 2- reorganising NIfTI files into the Brain
Imaging Data Structure (BIDS).
"""
# Design related stuff
icon = {repo = "fontawesome/brands/github"} # icon in top-right corner.
# TODO: Design a logo and/or favicon.
# favicon = "art/logo_small.png"
# logo = "art/logo_small.png"
palette = {scheme = "preference"}
# Alternative way of setting multiple option for the palette
# [[tool.portray.mkdocs.theme.palette]]
# scheme = "preference"
# Additional settings for plugins
[[tool.portray.mkdocs.markdown_extensions]]
[tool.portray.mkdocs.markdown_extensions.toc]
permalink = "⚓︎"
[[tool.portray.mkdocs.markdown_extensions]]
[tool.portray.mkdocs.markdown_extensions."pymdownx.highlight"]
linenums = true # Always add line numbers in code blocks
[[tool.portray.mkdocs.markdown_extensions]]
[tool.portray.mkdocs.markdown_extensions."pymdownx.tasklist"]
custom_checkbox = true
clickable_checkbox = false
# [[tool.portray.mkdocs.plugins]]
# [tool.portray.mkdocs.plugins.git-revision-date]
# enabled_if_env = "CI"
# [[tool.portray.mkdocs.plugins]]
# [tool.portray.mkdocs.plugins.git-revision-date-localized]
# type = "date"
# fallback_to_build_date = true
## Footer icon in bottom-right corner
[[tool.portray.mkdocs.extra.social]]
icon = "fontawesome/brands/github"
link = "https://github.com/UNFmontreal/Dcm2Bids"
name = "dcm2bids on GitHub"
[[tool.portray.mkdocs.extra.social]]
icon = "fontawesome/brands/docker"
link = "https://hub.docker.com/r/unfmontreal/dcm2bids"
name = "dcm2bids on docker"