Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MKDocs Template
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PAGoDA
Tools
MKDocs Template
Commits
d51ce1a9
Verified
Commit
d51ce1a9
authored
4 years ago
by
Romain Deville
Browse files
Options
Downloads
Patches
Plain Diff
Update source documentation in template files
parent
4c399b26
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
templates/docs/_data/template/repo.tpl.yaml
+5
-3
5 additions, 3 deletions
templates/docs/_data/template/repo.tpl.yaml
templates/docs/_data/template/subrepo.tpl.yaml
+8
-0
8 additions, 0 deletions
templates/docs/_data/template/subrepo.tpl.yaml
with
13 additions
and
3 deletions
templates/docs/_data/template/repo.tpl.yaml
+
5
−
3
View file @
d51ce1a9
...
...
@@ -26,11 +26,13 @@ repo_name:
# (OPTIONAL) Path, relative to `docs_dir` mkdocs config, to the logo of the
# repo. If not specified, path will automatically be set to
# `assets/img/meta/re
o
p_name_logo.png`
#logo: "assets/img/meta/repo_
templat
e_logo.png"
# `assets/img/meta/rep
o
_name_logo.png`
#logo: "assets/img/meta/repo_
nam
e_logo.png"
# Description of the repo, will be used to setup the mkdocs description.
desc
:
>-
Repo description with markdown support
An explicit description to explain what my repo do. Can be a multiline
description with **markdown** support such as
[link](https://url.domain.tld) and more.
# (OPTIONAL) If you plan to use `mkdocstring` plugins to render python
# source code, you will need to provide the path where your source files
...
...
This diff is collapsed.
Click to expand it.
templates/docs/_data/template/subrepo.tpl.yaml
+
8
−
0
View file @
d51ce1a9
...
...
@@ -22,6 +22,10 @@ subrepo:
# - name: subrepo_1
# # SSH or HTTP link to the online subrepo_1
# git_url: git@domain.tld:namesapce/subrepo_1
# # Key `subpath` is a str pointing to the path in the subrepo where
# # there is a file `mkdocs.yaml` and folder `docs` if not the root
# # of the subrepo
# subpath: sub/dir/
# # List of subdirectory from `dir_name` which are repos with
# # mkdocs documentation which will be included in the documentation.
# external:
...
...
@@ -31,6 +35,10 @@ subrepo:
# - name: subrepo_2
# # SSH or HTTP link to the online subrepo_2
# git_url: git@domain.tld:namesapce/subrepo_2
# # Key `subpath` is a str pointing to the path in the subrepo where
# # there is a file `mkdocs.yaml` and folder `docs` if not the root
# # of the subrepo
# subpath: sub/dir/
# # Another sub dir_name which also old subrepos
# subdir_name:
# nav_entry: "Sub Nav Entry"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment