-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #244 from OCamlPro/next
Version 2.0 with support for Babylon+
- Loading branch information
Showing
269 changed files
with
7,610 additions
and
5,226 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
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
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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#! /usr/bin/env sh | ||
|
||
cmd=$@ | ||
file=$(echo $cmd | tr ' ' '-') | ||
dsthtml=src/man/$file.html | ||
dst=src/man/$file.rst | ||
|
||
../../$cmd --help=groff | groff -Thtml > $dsthtml | ||
echo "\`\`$cmd\`\`" > $dst | ||
echo "============" >> $dst | ||
echo >> $dst | ||
echo ".. _$file:" >> $dst | ||
echo ".. raw:: html" >> $dst | ||
echo " :file: $file.html" >> $dst |
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,85 @@ | ||
@media screen and (min-width: 1400px) { | ||
.wy-nav-content-wrap { | ||
background: #fcfcfc; | ||
} | ||
.wy-nav-content { | ||
margin: auto; | ||
background: #fcfcfc; | ||
} | ||
.wy-nav-content-wrap { | ||
background: #fcfcfc; | ||
} | ||
.wy-nav-content { | ||
margin: auto; | ||
background: #fcfcfc; | ||
max-width: unset; | ||
} | ||
} | ||
|
||
@media screen and (min-width: 1100px) { | ||
.wy-nav-content-wrap { | ||
background: #fcfcfc; | ||
} | ||
.wy-nav-content { | ||
margin: auto; | ||
background: #fcfcfc; | ||
} | ||
.wy-nav-content-wrap { | ||
background: #fcfcfc; | ||
} | ||
.wy-nav-content { | ||
margin: auto; | ||
background: #fcfcfc; | ||
max-width: unset; | ||
} | ||
} | ||
|
||
.document { | ||
max-width: 800px; | ||
margin: auto; | ||
} | ||
|
||
.wy-side-nav-search, .wy-nav-top { | ||
background-color: #0f093d; | ||
} | ||
|
||
a, a:visited { | ||
color: #553bff | ||
} | ||
|
||
a, a:hover { | ||
color: #3e22f8; | ||
} | ||
|
||
rst-content tt.literal, .rst-content tt.literal, .rst-content code.literal { | ||
color: #e84fff; | ||
} | ||
|
||
.wy-nav-side { | ||
background: #292640; | ||
} | ||
|
||
.wy-menu-vertical a { | ||
color: #D7D6E7; | ||
} | ||
|
||
.wy-menu-vertical li.on a, .wy-menu-vertical li.current>a { | ||
color: #404040; | ||
} | ||
|
||
.wy-menu-vertical header, .wy-menu-vertical p.caption { | ||
color: hsla(247, 84%, 77%, 1) | ||
} | ||
|
||
.wy-menu-vertical li.current { | ||
background: #eae9f2; | ||
} | ||
|
||
|
||
.wy-menu-vertical li.current a:hover { | ||
background: #d6d6d6; | ||
} | ||
|
||
.wy-menu-vertical li.current a:hover { | ||
background: hsla(247, 32%, 87%, 1); | ||
} | ||
|
||
.wy-menu-vertical a:hover { | ||
background-color: hsla(292, 29%, 46%, 1); | ||
} | ||
|
||
.wy-menu-vertical li.toctree-l2.current>a, | ||
.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a { | ||
background: hsla(247, 26%, 88%, 1); | ||
} | ||
|
||
.wy-menu-vertical li.on a, .wy-menu-vertical li.current>a { | ||
border-top:none; | ||
border-bottom:none; | ||
} |
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 |
---|---|---|
|
@@ -51,7 +51,7 @@ | |
|
||
# General information about the project. | ||
project = 'Liquidity' | ||
copyright = '2018, OCamlPro SAS. <[email protected]>' | ||
copyright = '2020, OCamlPro SAS. <[email protected]>' | ||
author = 'OCamlPro SAS. <[email protected]>' | ||
|
||
# The version info for the project you're documenting, acts as replacement for | ||
|
@@ -60,7 +60,7 @@ | |
# | ||
# The short X.Y version. | ||
|
||
version = subprocess.check_output("../../../_obuild/liquidity-mini/liquidity-mini.asm -v --version", shell=True).decode("utf-8") | ||
version = subprocess.check_output("grep 'version = \"' ../../../tools/liquidity/build.ocp2 | cut -d'\"' -f 2", shell=True).decode("utf-8") | ||
# version = os.environ.get('CI_COMMIT_REF_NAME', 'v1.0') | ||
# The full version, including alpha/beta/rc tags. | ||
release = version + datetime.datetime.now().strftime(" (%Y/%m/%d %H:%M)") | ||
|
@@ -103,7 +103,7 @@ | |
# documentation. | ||
# | ||
html_theme_options = {'logo_only': True} | ||
html_logo = "logo.svg" | ||
html_logo = "liquidity.svg" | ||
# Add any paths that contain custom static files (such as style sheets) here, | ||
# relative to this directory. They are copied after the builtin static files, | ||
# so a file named "default.css" will overwrite the builtin "default.css". | ||
|
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
Oops, something went wrong.