New API docummentation. (#544)

* Install hljs package.

* Add highlight.js stylesheet and js to index.html.

* Add new instructions for API documentation.

* Add network value to code-template component.

* Add curl examples.

* Fix tab order of bisq api page.

* Add esmodules instalation instructions.
Add external links to repositories.

* Add self-hosted hljs styles.

* Add response code examples.
Add dynamic networks to curl examples.
Remove reponse code box if not needed.

* Self hosted highlight.min.js.

* Bumping "ws" dependency to fix vulnerability.

* npm audit fix

* npm audit fix

* Remove Hightlight.js dependency.
Add new style to code-template-component.

* Remove hljs css.

* Change NgbModule and NgbAccordionModule  to shared

* Fix NgbAccordionModule import.
This commit is contained in:
Miguel Medeiros
2021-06-06 17:06:56 -03:00
committed by GitHub
parent 1addef61a2
commit 77c062e7f8
11 changed files with 2219 additions and 240 deletions

View File

@@ -54,7 +54,7 @@ html, body {
body {
background-color: #11131f;
min-width: 320px;
min-width: 375px;
padding-bottom: 60px;
}
@@ -630,4 +630,42 @@ th {
@media (min-width: 1200px) {
max-width: 480px;
}
}
}
.tab-pane {
.card {
background-color: transparent;
padding: 0;
button {
text-align: left;
display: block;
width: 100%;
padding: 1rem 2rem;
color: #fff;
font-weight: bold;
&:focus, &:hover, &:active {
text-decoration: none;
outline: none;
box-shadow: none;
}
}
.card-header {
padding: 0;
}
.collapsed{
background-color: #2d3348;
color: #1bd8f4;
}
}
.subtitle {
font-weight: bold;
margin-bottom: 3px;
button {
padding: 0px !important;
}
}
}