Skip to content

Commit

Permalink
docs: update web doc
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit128 committed Jul 12, 2024
1 parent 182cb73 commit ba0a705
Show file tree
Hide file tree
Showing 15 changed files with 2,536 additions and 0 deletions.
49 changes: 49 additions & 0 deletions Fast/Fast/doc/source/_templates/mine.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,51 @@
<a href="Fast.pdf" target="_self">Download pdf version</a>
<p></p>
<a href="../index.html" target="_self">Back to main page</a>
<head>
<style>
#myBtn {
display: none;
position: fixed;
bottom: 20px;
right: 30px;
z-index: 99;
border: none;
outline: none;
background-color: rgba(26,85,85,0.5);
color: rgb(0, 0, 0);
cursor: pointer;
padding: 15px;
border-radius: 10px;
box-shadow: 6px 6px 6px black;
}

#myBtn:hover {
background-color: rgb(26,85,85);
color: rgb(255, 255, 255);
}
</style>
</head>
<body>

<button onclick="topFunction()" id="myBtn" title="Go to top"><img src="./_static/icon.png" width="20" height="20"></button>

<script>
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function() {scrollFunction()};

function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
document.getElementById("myBtn").style.display = "block";
} else {
document.getElementById("myBtn").style.display = "none";
}
}

// When the user clicks on the button, scroll to the top of the document
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
</body>
<!-- <img src="logo-onera-ident.png">>
49 changes: 49 additions & 0 deletions Fast/FastC/doc/source/_templates/mine.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,51 @@
<a href="FastC.pdf" target="_self">Download pdf version</a>
<p></p>
<a href="../index.html" target="_self">Back to main page</a>
<head>
<style>
#myBtn {
display: none;
position: fixed;
bottom: 20px;
right: 30px;
z-index: 99;
border: none;
outline: none;
background-color: rgba(26,85,85,0.5);
color: rgb(0, 0, 0);
cursor: pointer;
padding: 15px;
border-radius: 10px;
box-shadow: 6px 6px 6px black;
}

#myBtn:hover {
background-color: rgb(26,85,85);
color: rgb(255, 255, 255);
}
</style>
</head>
<body>

<button onclick="topFunction()" id="myBtn" title="Go to top"><img src="./_static/icon.png" width="20" height="20"></button>

<script>
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function() {scrollFunction()};

function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
document.getElementById("myBtn").style.display = "block";
} else {
document.getElementById("myBtn").style.display = "none";
}
}

// When the user clicks on the button, scroll to the top of the document
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
</body>
<!-- <img src="logo-onera-ident.png">>
2 changes: 2 additions & 0 deletions Fast/FastS/doc/source/_templates/mine.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<a href="FastS.pdf" target="_self">Download pdf version</a>
<p></p>
<a href="../index.html" target="_self">Back to main page</a>
<head>
<style>
#myBtn {
Expand Down
Binary file added docs/Images/logo-onera-ident.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ba0a705

Please sign in to comment.