Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
smsajid committed Oct 12, 2024
1 parent 9e9a930 commit b2197fd
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 0 deletions.
3 changes: 3 additions & 0 deletions document/core/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
_build
_static
document/*.pyc
1 change: 1 addition & 0 deletions document/core/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@
rst_prolog = """
.. |issuelink| replace:: https://github.com/openarchmodel/""" + repo + """/issues/
.. |pagelink| replace:: https://openarchmodel.github.io/""" + repo + """/core/
.. include:: /""" + pwd + """/util/macros.def
"""

# https://www.sphinx-doc.org/en/master/usage/extensions/math.html#confval-mathjax3_config
Expand Down
84 changes: 84 additions & 0 deletions document/core/static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
a {
color: #004BAB;
text-decoration: none;
}

a.reference {
border-bottom: none;
}

a.reference:hover {
border-bottom: 1px dotted #004BAB;
}

body {
font-size: 15px;
}

div.document {
width: unset;
max-width: 1000px;
}
div.bodywrapper { margin: 0 0 0 200px; }
div.body { padding: 0 10px 0 10px; }
div.footer {
width: unset;
max-width: 1000px;
}

div.body h1 { font-size: 200%; }
div.body h2 { font-size: 150%; }
div.body h3 { font-size: 120%; }
div.body h4 { font-size: 110%; }

div.note {
border: 0px;
font-size: 90%;
background-color: #F6F8FF;
}

div.admonition {
padding: 10px;
}

div.admonition p.admonition-title {
margin: 0px 0px 0px 0px;
font-size: 100%;
font-weight: bold;
}

div.math {
background-color: #F0F0F0;
padding: 3px 0 3px 0;
overflow-x: auto;
overflow-y: hidden;
}

div.relations {
display: block;
}

div.sphinxsidebar {
z-index: 1;
background: #FFF;
margin-top: -30px;
font-size: 13px;
width: 200px;
height: 100%;
}

div.sphinxsidebarwrapper p.logo {
padding: 30px 40px 10px 0px;
}

div.sphinxsidebar h3 {
font-size: 0px;
}

div.sphinxsidebar a {
border-bottom: 0px;
}

div.sphinxsidebar a:hover {
border-bottom: 1px dotted;
}

0 comments on commit b2197fd

Please sign in to comment.