mirror of https://github.com/eyhc1/rendercv.git
configure mkdocs
This commit is contained in:
parent
e0ae4a60d0
commit
f107f972fb
|
@ -0,0 +1,2 @@
|
||||||
|
# data_model module
|
||||||
|
::: rendercv.data_model
|
|
@ -0,0 +1,2 @@
|
||||||
|
# __main__ module
|
||||||
|
::: rendercv.__main__
|
|
@ -0,0 +1,2 @@
|
||||||
|
# tinytex module
|
||||||
|
::: rendercv.tinytex
|
|
@ -0,0 +1,17 @@
|
||||||
|
# Welcome to MkDocs
|
||||||
|
|
||||||
|
For full documentation visit [mkdocs.org](https://www.mkdocs.org).
|
||||||
|
|
||||||
|
## Commands
|
||||||
|
|
||||||
|
* `mkdocs new [dir-name]` - Create a new project.
|
||||||
|
* `mkdocs serve` - Start the live-reloading docs server.
|
||||||
|
* `mkdocs build` - Build the documentation site.
|
||||||
|
* `mkdocs -h` - Print help message and exit.
|
||||||
|
|
||||||
|
## Project layout
|
||||||
|
|
||||||
|
mkdocs.yml # The configuration file.
|
||||||
|
docs/
|
||||||
|
index.md # The documentation homepage.
|
||||||
|
... # Other markdown pages, images and other files.
|
|
@ -0,0 +1,17 @@
|
||||||
|
site_name: My Docs
|
||||||
|
theme:
|
||||||
|
name: material
|
||||||
|
|
||||||
|
nav:
|
||||||
|
- Home: index.md
|
||||||
|
- About: about.md
|
||||||
|
- Contact: contact.md
|
||||||
|
- License: license.md
|
||||||
|
- Code Reference:
|
||||||
|
- __main__.py: code/main.md
|
||||||
|
- data_model.py: code/data_model.md
|
||||||
|
- tinytex.py: code/tinytex.md
|
||||||
|
|
||||||
|
plugins:
|
||||||
|
- search
|
||||||
|
- mkdocstrings
|
|
@ -39,7 +39,7 @@ if __name__ == "__main__":
|
||||||
if link is not None:
|
if link is not None:
|
||||||
link = link.groups()
|
link = link.groups()
|
||||||
oldLinkString = "[" + link[0] + "](" + link[1] + ")"
|
oldLinkString = "[" + link[0] + "](" + link[1] + ")"
|
||||||
newLinkString = "\hrefExternal{" + link[1] + "}{" + link[0] + "}"
|
newLinkString = "\\hrefExternal{" + link[1] + "}{" + link[0] + "}"
|
||||||
|
|
||||||
value = value.replace(oldLinkString, newLinkString)
|
value = value.replace(oldLinkString, newLinkString)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue