-
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
c857f44
commit 9e099ec
Showing
3 changed files
with
129 additions
and
6 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,13 +1,17 @@ | ||
push!(LOAD_PATH, "../src") #make the package available to the script | ||
using Documenter, ClenshawCurtisQuadrature #load the package and Documenter | ||
|
||
doctest(ClenshawCurtisQuadrature, fix=true) | ||
|
||
#generate the documentation | ||
makedocs( | ||
sitename="ClenshawCurtisQuadrature.jl", | ||
doctest = false, #FIXME: enable once examples are added to the documenation, | ||
|
||
doctest = true, | ||
format = Documenter.HTML(assets = ["assets/custom.css"]) | ||
) | ||
|
||
|
||
|
||
deploydocs( | ||
repo = "github.com/DavidMSCode/ClenshawCurtisQuadrature.jl.git", | ||
) |
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,42 @@ | ||
/* Custom CSS for Tufte-style margin note */ | ||
.admonition.is-info { | ||
position: relative; | ||
float: right; | ||
width: var(--margin-width); | ||
margin-left: 1em; | ||
margin-right: calc(-1*var(--margin-width)); | ||
font-size: 0.85em; | ||
color: #ffffff; | ||
background: #ffffff; | ||
padding: 0.5em; | ||
border-style: none !important; | ||
border-width: 0px; | ||
border-left: 2px solid #3852C7 !important; | ||
} | ||
|
||
.docstring { | ||
clear: right; | ||
} | ||
|
||
.content { | ||
margin-right: var(--margin-width); | ||
margin-left: 0px; | ||
} | ||
|
||
:root { | ||
--margin-width: 300px; /* Set the desired width of the margin note */ | ||
} | ||
|
||
@media screen and (min-width: 1150px) { | ||
html.theme--documenter-dark #documenter .docs-main { | ||
max-width: 1150px; | ||
margin-left: 20rem; | ||
padding-right: 1rem; | ||
} | ||
} | ||
|
||
@media screen and (max-width: 1150px) { | ||
html.theme--documenter-dark #documenter .docs-main { | ||
width: 100%; | ||
} | ||
} |
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