forked from ocaml/ocaml
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 ocaml#3 from tmattio/embed-html
Embed HTML files to serve the documentation
- Loading branch information
Showing
1,806 changed files
with
2,361 additions
and
2,018 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,25 +1,18 @@ | ||
# To Do | ||
|
||
Blockers: | ||
- [ ] Fix documentation link issues | ||
- [ ] Fix documentation design issues | ||
- [ ] The titles are all the same | ||
- [ ] Fix issue when package doc can't be found (error 500) | ||
- [ ] Fix marshalling error on prod data | ||
|
||
Waiting: | ||
- [ ] Retrieve statistics | ||
- [ ] Handle package universes | ||
- [ ] Add rev-deps in the package overview | ||
|
||
Nice to have: | ||
- [ ] Cache the documentation | ||
- [ ] Remove dependency on git-unix | ||
- [ ] Add Opam publish documentation | ||
|
||
Feedback: | ||
- [ ] Should add the meta descriptions for search engine | ||
- [ ] The heading section for the packages looks.. lifeless | ||
- [ ] Add a search in the docs feature | ||
- [ ] Add an overlow scroll to the TOC in the documentation | ||
- [ ] Mobile view of the documentation looks off |
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,62 @@ | ||
div.odoc { | ||
margin-left: auto; | ||
margin-right: auto; | ||
max-width: 37.5rem /* 600px */; | ||
position: relative; | ||
} | ||
|
||
div.odoc div.spec { | ||
border-left-width: 4px; | ||
border-color: rgba(251, 146, 60, 1); | ||
border-radius: 0.25rem /* 4px */; | ||
background-color: rgba(243, 244, 246, 1); | ||
padding-left: 1rem /* 16px */; | ||
padding-right: 1rem /* 16px */; | ||
padding-top: 0.5rem /* 16px */; | ||
padding-bottom: 0.5rem /* 16px */; | ||
margin-top: 1rem /* 16px */; | ||
} | ||
|
||
div.odoc div.spec code::before, | ||
div.odoc div.spec code::after { | ||
content: ""; | ||
} | ||
|
||
div.odoc a.anchor { | ||
position: absolute; | ||
left: 0px; | ||
opacity: 0; | ||
text-decoration: none; | ||
margin-left: -1em; | ||
padding-right: 0.5em; | ||
box-shadow: none; | ||
color: rgb(161, 161, 170); | ||
} | ||
|
||
div.odoc *:hover > a.anchor { | ||
opacity: 1; | ||
} | ||
|
||
div.odoc a.anchor::after { | ||
content: "#"; | ||
} | ||
|
||
div.odoc div.spec table { | ||
margin-top: 0px; | ||
margin-bottom: 0px; | ||
font-size: 1em; | ||
line-height: 1.75; | ||
} | ||
|
||
div.odoc div.spec tbody td { | ||
padding-top: 0px; | ||
padding-bottom: 0px; | ||
} | ||
|
||
div.odoc div.spec tbody td.def { | ||
padding-left: 1.25rem /* 20px */; | ||
} | ||
|
||
div.odoc div.spec tbody tr { | ||
border-width: 0px; | ||
} |
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 |
---|---|---|
|
@@ -27,10 +27,11 @@ | |
dream | ||
dream-cli | ||
dream-livereload | ||
odoc | ||
fpath | ||
fmt | ||
opam-format | ||
logs | ||
omd | ||
bos | ||
tyxml | ||
yojson | ||
(alcotest :with-test))) |
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,10 +1,5 @@ | ||
(library | ||
(name ocamlorg) | ||
(libraries | ||
opam-format | ||
lwt | ||
lwt.unix | ||
odoc_thtml | ||
odoc.odoc)) | ||
(libraries opam-format bos fpath logs fmt lwt lwt.unix yojson)) | ||
|
||
(include_subdirs unqualified) |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.