-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
619ba60
commit e44a1ef
Showing
8 changed files
with
150 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,118 @@ | ||
|
||
https://github.com/squidfunk/mkdocs-material | ||
Copyright (c) 2016-2024 Martin Donath <[email protected]> | ||
## MkDocs | ||
|
||
=== "Acknowledgment" | ||
|
||
This project uses MkDocs to manage and produce the content and site. | ||
|
||
- [MkDocs](https://www.mkdocs.org/) | ||
- [GitHub Project](https://github.com/mkdocs/mkdocs) | ||
|
||
> Copyright © 2014, Tom Christie. All rights reserved. | ||
|
||
=== "License" | ||
|
||
``` | ||
Copyright © 2014-present, Tom Christie. All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or | ||
without modification, are permitted provided that the following | ||
conditions are met: | ||
|
||
Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in | ||
the documentation and/or other materials provided with the | ||
distribution. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND | ||
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, | ||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR | ||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF | ||
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED | ||
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | ||
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
POSSIBILITY OF SUCH DAMAGE. | ||
``` | ||
|
||
--- | ||
|
||
## Material for MkDocs | ||
|
||
=== "Acknowledgment" | ||
|
||
This project uses the Material for MkDocs theme as the basis of the notebook. | ||
|
||
- [mkdocs-material](https://squidfunk.github.io/mkdocs-material/) | ||
- [GitHub Project](https://github.com/squidfunk/mkdocs-material) | ||
|
||
> Copyright (c) 2016-2024 Martin Donath <[email protected]> | ||
|
||
=== "License" | ||
|
||
``` | ||
Copyright (c) 2016-2024 Martin Donath <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to | ||
deal in the Software without restriction, including without limitation the | ||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
sell copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS | ||
IN THE SOFTWARE. | ||
``` | ||
|
||
--- | ||
|
||
## Marp Markdown Presentation Ecosystem | ||
|
||
=== "Acknowledgment" | ||
|
||
This project uses Marp to create the HTML and PDF presentations. | ||
|
||
- [Marp](https://marp.app/) | ||
- [GitHub Project](https://github.com/marp-team/marp) | ||
|
||
> Copyright (c) 2018-2023 Marp team ([email protected]) | ||
|
||
=== "License" | ||
|
||
``` | ||
MIT License | ||
|
||
Copyright (c) 2018-2023 Marp team ([email protected]) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,38 @@ | ||
|
||
|
||
# Welcome to MkDocs | ||
# Welcome to the Notebook | ||
|
||
For full documentation visit [mkdocs.org](https://www.mkdocs.org). | ||
For full documentation visit [chriscompton.github.io/notebook](https://chriscompton.github.io/notebook/). | ||
|
||
## Commands | ||
## MkDocs 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. | ||
|
||
## Marp Commands | ||
|
||
* `python scripts/marp.py` - Generate presentations when front matter has `marp: true` | ||
|
||
!!! note | ||
|
||
The **marp script will alter your markdown files** to add buttons at the bottom of the page for | ||
HTML and PDF. If you change `marp: false`, it will cause the script to remove the links and | ||
the generated files. | ||
|
||
## Project layout | ||
|
||
mkdocs.yml # The configuration file. | ||
scripts/ | ||
marp.py # Scans for markdown files requiring presentations. | ||
encode.py # Converts the png template images to css embeddable images. | ||
marp/ | ||
notebook/ | ||
image/ # Has the png background images for presentations. | ||
notebook.css # The CSS file used for presentation formatting. | ||
docs/ | ||
index.md # The documentation homepage. | ||
... # Other markdown pages, images and other files. | ||
|
||
## Formatting | ||
|
||
You can find great documentation on formatting content at the [mkdocs-material reference](https://squidfunk.github.io/mkdocs-material/reference/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
/* Sets a common highlight color */ | ||
/* Sets a common highlight color | ||
.md-content a { | ||
color: #00833d; | ||
} | ||
|
File renamed without changes
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
markdown_source_path = 'docs' | ||
marp_theme_path = 'marp' | ||
marp_theme_path = 'marp/notebook' | ||
marp_theme_image_path = 'marp/images' |