mkdocs first project
This commit is contained in:
131
en/404.html
Normal file
131
en/404.html
Normal file
@ -0,0 +1,131 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="light">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
|
||||
|
||||
<link rel="shortcut icon" href="/img/favicon.ico">
|
||||
<title>My Docs</title>
|
||||
<link href="/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="/css/fontawesome.min.css" rel="stylesheet">
|
||||
<link href="/css/brands.min.css" rel="stylesheet">
|
||||
<link href="/css/solid.min.css" rel="stylesheet">
|
||||
<link href="/css/v4-font-face.min.css" rel="stylesheet">
|
||||
<link href="/css/base.css" rel="stylesheet">
|
||||
<link id="hljs-light" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/github.min.css" >
|
||||
<link id="hljs-dark" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/github-dark.min.css" disabled>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
|
||||
<script>hljs.highlightAll();</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="navbar fixed-top navbar-expand-lg navbar-dark bg-primary">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="/.">My Docs</a>
|
||||
|
||||
<!-- Expanded navigation -->
|
||||
<div id="navbar-collapse" class="navbar-collapse collapse">
|
||||
|
||||
<ul class="nav navbar-nav ms-md-auto">
|
||||
<li class="nav-item">
|
||||
<a href="#" class="nav-link" data-bs-toggle="modal" data-bs-target="#mkdocs_search_modal">
|
||||
<i class="fa fa-search"></i> Search
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
||||
<div class="row-fluid">
|
||||
<div id="main-content" class="span12">
|
||||
<h1 id="404-page-not-found" style="text-align: center">404</h1>
|
||||
<p style="text-align: center"><strong>Page not found</strong></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer class="col-md-12">
|
||||
<hr>
|
||||
<p>Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
|
||||
</footer>
|
||||
<script src="/js/bootstrap.bundle.min.js"></script>
|
||||
<script>
|
||||
var base_url = "/",
|
||||
shortcuts = {"help": 191, "next": 78, "previous": 80, "search": 83};
|
||||
</script>
|
||||
<script src="/js/base.js"></script>
|
||||
<script src="/search/main.js"></script>
|
||||
|
||||
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="dialog" aria-labelledby="searchModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="searchModalLabel">Search</h4>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>From here you can search these documents. Enter your search terms below.</p>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<input type="search" class="form-control" placeholder="Search..." id="mkdocs-search-query" title="Type search term here">
|
||||
</div>
|
||||
</form>
|
||||
<div id="mkdocs-search-results" data-no-results-text="No results found"></div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div class="modal" id="mkdocs_keyboard_modal" tabindex="-1" role="dialog" aria-labelledby="keyboardModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="keyboardModalLabel">Keyboard Shortcuts</h4>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 20%;">Keys</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="help shortcut"><kbd>?</kbd></td>
|
||||
<td>Open this help</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="next shortcut"><kbd>n</kbd></td>
|
||||
<td>Next page</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="prev shortcut"><kbd>p</kbd></td>
|
||||
<td>Previous page</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="search shortcut"><kbd>s</kbd></td>
|
||||
<td>Search</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,14 +0,0 @@
|
||||
:root {
|
||||
--dracula-body-bg: #2a232b;
|
||||
--dracula-color: #f8f8f2;
|
||||
--dracula-header-bg: #2a232b;
|
||||
--dracula-scrollToTopBtn-color: #9fea8a;
|
||||
--dracula-links-color: #f76b00;
|
||||
--dracula-nav-bg: #2a232b;
|
||||
--dracula-nav-links-color: #f76b00;
|
||||
--dracula-h1-color: #e54472;
|
||||
--dracula-h2-color: #18f700;
|
||||
--dracula-solid-bg: #2a232b;
|
||||
--dracula-solid-color: #f76b00;
|
||||
--dracula-footer-bg: #2a232b;
|
||||
}
|
366
en/css/base.css
Normal file
366
en/css/base.css
Normal file
@ -0,0 +1,366 @@
|
||||
html {
|
||||
/* The nav header is 3.5rem high, plus 20px for the margin-top of the
|
||||
main container. */
|
||||
scroll-padding-top: calc(3.5rem + 20px);
|
||||
}
|
||||
|
||||
/* Replacement for `body { background-attachment: fixed; }`, which has
|
||||
performance issues when scrolling on large displays. See #1394. */
|
||||
body::before {
|
||||
content: ' ';
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-color: var(--bs-body-bg);
|
||||
background: url(../img/grid.png) repeat-x;
|
||||
will-change: transform;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
body > .container {
|
||||
margin-top: 20px;
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
.navbar.fixed-top {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
.source-links {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.col-md-9 img {
|
||||
max-width: 100%;
|
||||
display: inline-block;
|
||||
padding: 4px;
|
||||
line-height: 1.428571429;
|
||||
background-color: var(--bs-secondary-bg-subtle);
|
||||
border: 1px solid var(--bs-secondary-border-subtle);
|
||||
border-radius: 4px;
|
||||
margin: 20px auto 30px auto;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: inherit;
|
||||
font-weight: 400;
|
||||
font-size: 42px;
|
||||
}
|
||||
|
||||
h2, h3, h4, h5, h6 {
|
||||
color: inherit;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
hr {
|
||||
border-top: 1px solid #aaa;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
pre, .rst-content tt {
|
||||
max-width: 100%;
|
||||
background-color: var(--bs-body-bg);
|
||||
border: solid 1px var(--bs-border-color);
|
||||
color: var(--bs-body-color);
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
code.code-large, .rst-content tt.code-large {
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
code {
|
||||
padding: 2px 5px;
|
||||
background-color: rgba(var(--bs-body-bg-rgb), 0.75);
|
||||
border: solid 1px var(--bs-border-color);
|
||||
color: var(--bs-body-color);
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
pre code {
|
||||
display: block;
|
||||
border: none;
|
||||
white-space: pre;
|
||||
word-wrap: normal;
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
kbd {
|
||||
padding: 2px 4px;
|
||||
font-size: 90%;
|
||||
color: var(--bs-secondary-text-emphasis);
|
||||
background-color: var(--bs-secondary-bg-subtle);
|
||||
border-radius: 3px;
|
||||
-webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
|
||||
}
|
||||
|
||||
a code {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
a:hover code, a:focus code {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
footer {
|
||||
margin-top: 30px;
|
||||
margin-bottom: 10px;
|
||||
text-align: center;
|
||||
font-weight: 200;
|
||||
}
|
||||
|
||||
.modal-dialog {
|
||||
margin-top: 60px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Side navigation
|
||||
*
|
||||
* Scrollspy and affixed enhanced navigation to highlight sections and secondary
|
||||
* sections of docs content.
|
||||
*/
|
||||
|
||||
.bs-sidebar.affix {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
/* The nav header is 3.5rem high, plus 20px for the margin-top of the
|
||||
main container. */
|
||||
top: calc(3.5rem + 20px);
|
||||
}
|
||||
|
||||
.bs-sidebar.card {
|
||||
padding: 0;
|
||||
max-height: 90%;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* Toggle (vertically flip) sidebar collapse icon */
|
||||
.bs-sidebar .navbar-toggler span {
|
||||
-moz-transform: scale(1, -1);
|
||||
-webkit-transform: scale(1, -1);
|
||||
-o-transform: scale(1, -1);
|
||||
-ms-transform: scale(1, -1);
|
||||
transform: scale(1, -1);
|
||||
}
|
||||
|
||||
.bs-sidebar .navbar-toggler.collapsed span {
|
||||
-moz-transform: scale(1, 1);
|
||||
-webkit-transform: scale(1, 1);
|
||||
-o-transform: scale(1, 1);
|
||||
-ms-transform: scale(1, 1);
|
||||
transform: scale(1, 1);
|
||||
}
|
||||
|
||||
/* First level of nav */
|
||||
.bs-sidebar > .navbar-collapse > .nav {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
border-radius: 5px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* All levels of nav */
|
||||
.bs-sidebar .nav > li > a {
|
||||
display: block;
|
||||
padding: 5px 20px;
|
||||
z-index: 1;
|
||||
}
|
||||
.bs-sidebar .nav > li > a:hover,
|
||||
.bs-sidebar .nav > li > a:focus {
|
||||
text-decoration: none;
|
||||
border-right: 1px solid;
|
||||
}
|
||||
.bs-sidebar .nav > li > a.active,
|
||||
.bs-sidebar .nav > li > a.active:hover,
|
||||
.bs-sidebar .nav > li > a.active:focus {
|
||||
font-weight: bold;
|
||||
background-color: transparent;
|
||||
border-right: 1px solid;
|
||||
}
|
||||
|
||||
.bs-sidebar .nav .nav .nav {
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.bs-sidebar .nav > li > a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.bs-sidebar .nav .nav > li > a {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.headerlink {
|
||||
font-family: FontAwesome;
|
||||
font-size: 14px;
|
||||
display: none;
|
||||
padding-left: .5em;
|
||||
text-decoration: none;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
h1:hover .headerlink, h2:hover .headerlink, h3:hover .headerlink, h4:hover .headerlink, h5:hover .headerlink, h6:hover .headerlink {
|
||||
display:inline-block;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
padding-left: 10px;
|
||||
border-left: 4px solid #e6e6e6;
|
||||
}
|
||||
|
||||
.admonition, details {
|
||||
padding: 15px;
|
||||
margin-bottom: 20px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.admonition.note, details.note {
|
||||
color: var(--bs-primary-text-emphasis);
|
||||
background-color: var(--bs-primary-bg-subtle);
|
||||
border-color: var(--bs-primary-border-subtle);
|
||||
}
|
||||
|
||||
.admonition.note h1, .admonition.note h2, .admonition.note h3,
|
||||
.admonition.note h4, .admonition.note h5, .admonition.note h6,
|
||||
details.note h1, details.note h2, details.note h3,
|
||||
details.note h4, details.note h5, details.note h6 {
|
||||
color: var(--bs-primary-text-emphasis);
|
||||
}
|
||||
|
||||
.admonition.info, details.info {
|
||||
color: var(--bs-info-text-emphasis);
|
||||
background-color: var(--bs-info-bg-subtle);
|
||||
border-color: var(--bs-info-border-subtle);
|
||||
}
|
||||
|
||||
.admonition.info h1, .admonition.info h2, .admonition.info h3,
|
||||
.admonition.info h4, .admonition.info h5, .admonition.info h6,
|
||||
details.info h1, details.info h2, details.info h3,
|
||||
details.info h4, details.info h5, details.info h6 {
|
||||
color: var(--bs-info-text-emphasis);
|
||||
}
|
||||
|
||||
.admonition.warning, details.warning {
|
||||
color: var(--bs-warning-text-emphasis);
|
||||
background-color: var(--bs-warning-bg-subtle);
|
||||
border-color: var(--bs-warning-border-subtle);
|
||||
}
|
||||
|
||||
.admonition.warning h1, .admonition.warning h2, .admonition.warning h3,
|
||||
.admonition.warning h4, .admonition.warning h5, .admonition.warning h6,
|
||||
details.warning h1, details.warning h2, details.warning h3,
|
||||
details.warning h4, details.warning h5, details.warning h6 {
|
||||
color: var(--bs-warning-text-emphasis);
|
||||
}
|
||||
|
||||
.admonition.danger, details.danger {
|
||||
color: var(--bs-danger-text-emphasis);
|
||||
background-color: var(--bs-danger-bg-subtle);
|
||||
border-color: var(--bs-danger-border-subtle);
|
||||
}
|
||||
|
||||
.admonition.danger h1, .admonition.danger h2, .admonition.danger h3,
|
||||
.admonition.danger h4, .admonition.danger h5, .admonition.danger h6,
|
||||
details.danger h1, details.danger h2, details.danger h3,
|
||||
details.danger h4, details.danger h5, details.danger h6 {
|
||||
color: var(--bs-danger-text-emphasis);
|
||||
}
|
||||
|
||||
.admonition, details {
|
||||
color: var(--bs-light-text-emphasis);
|
||||
background-color: var(--bs-light-bg-subtle);
|
||||
border-color: var(--bs-light-border-subtle);
|
||||
}
|
||||
|
||||
.admonition h1, .admonition h2, .admonition h3,
|
||||
.admonition h4, .admonition h5, .admonition h6,
|
||||
details h1, details h2, details h3,
|
||||
details h4, details h5, details h6 {
|
||||
color: var(--bs-light-text-emphasis);
|
||||
}
|
||||
|
||||
.admonition-title, summary {
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.admonition>p:last-child, details>p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 991.98px) {
|
||||
.navbar-collapse.show {
|
||||
overflow-y: auto;
|
||||
max-height: calc(100vh - 3.5rem);
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-item.open {
|
||||
color: var(--bs-dropdown-link-active-color);
|
||||
background-color: var(--bs-dropdown-link-active-bg);
|
||||
}
|
||||
|
||||
.dropdown-submenu > .dropdown-menu {
|
||||
margin: 0 0 0 1.5rem;
|
||||
padding: 0;
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
.dropdown-submenu > a::after {
|
||||
display: block;
|
||||
content: " ";
|
||||
float: right;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-color: transparent;
|
||||
border-style: solid;
|
||||
border-width: 5px 0 5px 5px;
|
||||
border-left-color: var(--bs-dropdown-link-active-color);
|
||||
margin-top: 5px;
|
||||
margin-right: -10px;
|
||||
}
|
||||
|
||||
.dropdown-submenu:hover > a::after {
|
||||
border-left-color: var(--bs-dropdown-link-active-color);
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.dropdown-menu {
|
||||
overflow-y: auto;
|
||||
max-height: calc(100vh - 3.5rem);
|
||||
}
|
||||
|
||||
.dropdown-submenu {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.dropdown-submenu > .dropdown-menu {
|
||||
position: fixed !important;
|
||||
margin-top: -9px;
|
||||
margin-left: -2px;
|
||||
border-width: 1px;
|
||||
padding: 0.5rem 0;
|
||||
}
|
||||
|
||||
.dropdown-submenu.pull-left {
|
||||
float: none;
|
||||
}
|
||||
|
||||
.dropdown-submenu.pull-left > .dropdown-menu {
|
||||
left: -100%;
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media print {
|
||||
/* Remove sidebar when print */
|
||||
.col-md-3 { display: none; }
|
||||
}
|
12
en/css/bootstrap.min.css
vendored
Normal file
12
en/css/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
en/css/bootstrap.min.css.map
Normal file
1
en/css/bootstrap.min.css.map
Normal file
File diff suppressed because one or more lines are too long
6
en/css/brands.min.css
vendored
Normal file
6
en/css/brands.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
9
en/css/fontawesome.min.css
vendored
Normal file
9
en/css/fontawesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
6
en/css/solid.min.css
vendored
Normal file
6
en/css/solid.min.css
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
* Copyright 2023 Fonticons, Inc.
|
||||
*/
|
||||
:host,:root{--fa-style-family-classic:"Font Awesome 6 Free";--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}.fa-solid,.fas{font-weight:900}
|
6
en/css/v4-font-face.min.css
vendored
Normal file
6
en/css/v4-font-face.min.css
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
* Copyright 2023 Fonticons, Inc.
|
||||
*/
|
||||
@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.ttf) format("truetype")}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.ttf) format("truetype");unicode-range:u+f003,u+f006,u+f014,u+f016-f017,u+f01a-f01b,u+f01d,u+f022,u+f03e,u+f044,u+f046,u+f05c-f05d,u+f06e,u+f070,u+f087-f088,u+f08a,u+f094,u+f096-f097,u+f09d,u+f0a0,u+f0a2,u+f0a4-f0a7,u+f0c5,u+f0c7,u+f0e5-f0e6,u+f0eb,u+f0f6-f0f8,u+f10c,u+f114-f115,u+f118-f11a,u+f11c-f11d,u+f133,u+f147,u+f14e,u+f150-f152,u+f185-f186,u+f18e,u+f190-f192,u+f196,u+f1c1-f1c9,u+f1d9,u+f1db,u+f1e3,u+f1ea,u+f1f7,u+f1f9,u+f20a,u+f247-f248,u+f24a,u+f24d,u+f255-f25b,u+f25d,u+f271-f274,u+f278,u+f27b,u+f28c,u+f28e,u+f29c,u+f2b5,u+f2b7,u+f2ba,u+f2bc,u+f2be,u+f2c0-f2c1,u+f2c3,u+f2d0,u+f2d2,u+f2d4,u+f2dc}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-v4compatibility.woff2) format("woff2"),url(../webfonts/fa-v4compatibility.ttf) format("truetype");unicode-range:u+f041,u+f047,u+f065-f066,u+f07d-f07e,u+f080,u+f08b,u+f08e,u+f090,u+f09a,u+f0ac,u+f0ae,u+f0b2,u+f0d0,u+f0d6,u+f0e4,u+f0ec,u+f10a-f10b,u+f123,u+f13e,u+f148-f149,u+f14c,u+f156,u+f15e,u+f160-f161,u+f163,u+f175-f178,u+f195,u+f1f8,u+f219,u+f27a}
|
Binary file not shown.
Before Width: | Height: | Size: 160 KiB |
BIN
en/img/favicon.ico
Normal file
BIN
en/img/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
en/img/fzf.png
BIN
en/img/fzf.png
Binary file not shown.
Before Width: | Height: | Size: 226 KiB |
BIN
en/img/grid.png
Normal file
BIN
en/img/grid.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
en/img/home.png
BIN
en/img/home.png
Binary file not shown.
Before Width: | Height: | Size: 113 KiB |
Binary file not shown.
Before Width: | Height: | Size: 13 KiB |
318
en/index.html
318
en/index.html
@ -1,164 +1,170 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html lang="en" data-bs-theme="light">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="None">
|
||||
|
||||
|
||||
<link rel="shortcut icon" href="img/favicon.ico">
|
||||
<title>My Docs</title>
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="css/fontawesome.min.css" rel="stylesheet">
|
||||
<link href="css/brands.min.css" rel="stylesheet">
|
||||
<link href="css/solid.min.css" rel="stylesheet">
|
||||
<link href="css/v4-font-face.min.css" rel="stylesheet">
|
||||
<link href="css/base.css" rel="stylesheet">
|
||||
<link id="hljs-light" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/github.min.css" >
|
||||
<link id="hljs-dark" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/github-dark.min.css" disabled>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
|
||||
<script>hljs.highlightAll();</script>
|
||||
</head>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="description" content="ApolloNvim freedom in programming...." />
|
||||
<meta name="keywords" content="ApolloNvim Distro" />
|
||||
<meta name="author" content="Kankys" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<link rel="shortcut icon" href="../img/apollonvim.jpg" />
|
||||
<!--nav bar-->
|
||||
<script src="https://kit.fontawesome.com/0a43c6cd1f.js" crossorigin="anonymous"></script>
|
||||
<!--icons dark, go to up-->
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" />
|
||||
<!--ubuntu fonts-->
|
||||
<style>
|
||||
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
|
||||
</style>
|
||||
<title>ApolloNvim</title>
|
||||
</head>
|
||||
<body class="homepage">
|
||||
<div class="navbar fixed-top navbar-expand-lg navbar-dark bg-primary">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href=".">My Docs</a>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<h1 class="title"><a href="index.html">🚀ApolloNvim</a></h1>
|
||||
<!-- Expanded navigation -->
|
||||
<div id="navbar-collapse" class="navbar-collapse collapse">
|
||||
|
||||
<!-- Terminal - navigation -->
|
||||
<nav class="navigation">
|
||||
<ul>
|
||||
<li><a href="install.html">Installation</a></li>
|
||||
<li><a href="plugins.html">Plugins</a></li>
|
||||
<li><a href="tutorials.html">Tutorials</a></li>
|
||||
<li><a href="/cz/index.html">Česky</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="menu-icon">
|
||||
<!-- Ikona hamburger -->
|
||||
<i class="fa-solid fa-bars"></i>
|
||||
<!-- Ikona cross -->
|
||||
<!-- <i class="fa-solid fa-xmark"></i> -->
|
||||
<ul class="nav navbar-nav ms-md-auto">
|
||||
<li class="nav-item">
|
||||
<a href="#" class="nav-link" data-bs-toggle="modal" data-bs-target="#mkdocs_search_modal">
|
||||
<i class="fa fa-search"></i> Search
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3"><div class="navbar-expand-md bs-sidebar hidden-print affix" role="complementary">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggler collapsed" data-bs-toggle="collapse" data-bs-target="#toc-collapse" title="Table of Contents">
|
||||
<span class="fa fa-angle-down"></span>
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
<hr />
|
||||
|
||||
<!--Začátek sekcí - co h2 sekce + fotogalerie-->
|
||||
<section class="content" id="welcome">
|
||||
<section class="welcome">
|
||||
<h2>Tutorials:</h2>
|
||||
<h3>Programming is much more fun when you are efficient. Neovim can get you there eventually, but you have to be willing to try new things. New plugins, new remaps, etc.</h3>
|
||||
<p><a href="https://codeberg.org/Kankys/ApolloNvim2025" target="_blank">Project</a> repository</p>
|
||||
<p>
|
||||
👉 Neovim setup for Front-End development based on <a href="https://github.com/junegunn/vim-plug" target="_blank">plug.vim</a>, <a href="https://github.com/neoclide/coc.nvim" target="_blank">Coc</a> and <a href="https://neovim.io/doc/user/lua-guide.html" target="_blank">Lua</a>.
|
||||
</p>
|
||||
<p>
|
||||
👉 The advantages of Neovim over a classic IDE are undeniable in the freedom of configuration, there are thousands of possibilities how your Neovim can look and work. For your inspiration and use this project was created 🚀 ApolloNvim.
|
||||
</p>
|
||||
<p>
|
||||
👉 This distribution doesn't just work by clicking a button and installing. It will lead you to a separate installation using this site. The goal is to understand how Neovim works so you can modify everything yourself, which even click-on distributions don't teach you.
|
||||
</p>
|
||||
<p>
|
||||
👉 Two Editions 🚀ApolloNvim Starter for scaled to work with text thanks to markdown support and FrontEnd Edition focused on web development.
|
||||
</p>
|
||||
<p>
|
||||
👉 This setting is primarily for web development. I was inspired by the plugins I used in VSCode and Webstorm.
|
||||
</p>
|
||||
<p>👉 In October 2024, PHP support was newly added as well as Automatic pugin installation.</p>
|
||||
<p>👉 Great emphasis is placed on speed and lightness.</p>
|
||||
<p>
|
||||
👉 🚀 ApolloNvim Distro is regularly updated and so is the whole project.
|
||||
</p>
|
||||
<p>
|
||||
👉 For the best experience with 🚀 ApolloNvim Distro, I recommend using <a href="https://git.archoslinux.cz/kankys/zellij-mySetup" target="_blank">Zellij </a> or <a href="https://gnome-terminator.org/" target="_blank"> Terminator</a> multiplexor, but it's not a requirement of course.
|
||||
</p>
|
||||
</section>
|
||||
<section id="advantages">
|
||||
<h2>Advantages:</h2>
|
||||
<p>
|
||||
👉 The main advantages of this setup are support for Codeium, a free alternative to Copilot, Prettier, AutoSave, HTML, CSS, JS dipping and shortcuts to comment and uncomment code (CTRL + k). There are also several plugins to make working in Neovi more enjoyable.
|
||||
</p>
|
||||
<p>
|
||||
👉 With <a href="https://github.com/neovim/nvim-lspconfig" target="_blank">LSP</a> in this installation I use <a href="https://github.com/neoclide/coc.nvim" target="_blank">Coc</a> for its simplicity, stability and speed.
|
||||
</p>
|
||||
<p>
|
||||
👉 The best themes for Neovim (so you don't have to search for them) is the default GitHub Dark.
|
||||
</p>
|
||||
<p>
|
||||
👉 To change the theme in Neovi, simply use the <strong>:colorscheme</strong> command in the command line and use the Tab button to switch between themes.
|
||||
</p>
|
||||
</section>
|
||||
<section class="photo">
|
||||
<img class="picture" src="img/home.png" alt="Homescreen" />
|
||||
<img class="picture1" src="img/config.png" alt="config.vim" />
|
||||
<img class="picture2" src="img/fzf.png" alt="fzf" />
|
||||
</section>
|
||||
<section id="apollo">
|
||||
<h2>Plan 🚀ApolloNvim:</h2>
|
||||
<p>
|
||||
👉 You can expect these new features and more in the future:
|
||||
</p>
|
||||
<p>👉 Installer 🚀 ApolloNvim via link from Git.</p>
|
||||
<p>👉 New custom welcome screen.</p>
|
||||
<p>👉 New plugins.</p>
|
||||
👉 Tutorials on plugins, how to set them up and how to work with them.
|
||||
</p>
|
||||
<p>👉 Instructions for working with Neovi.</p>
|
||||
</section>
|
||||
<section id="faq">
|
||||
<h2>Questions and Answers:</h2>
|
||||
<p>👉 How much does ApolloNvim cost? -> Nothing 🚀 ApolloNvim is free.</p>
|
||||
<p>👉 How complicated is 🚀 ApolloNvim? -> 🚀 ApolloNvim may be more complicated than other editors, but once you learn how to use it, you'll see how great it is.
|
||||
</p>
|
||||
</section>
|
||||
<section id="contact">
|
||||
<h2>Contact:</h2>
|
||||
<p>
|
||||
<a href="https://lukaskanka.cz/" target="_blank">👉 Author's personal website 🚀 ApolloNvim</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://codeberg.org/Kankys" target="_blank">👉 Codeberg profile</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://mastodon.arch-linux.cz/@Kankys" target="_blank" 👉>
|
||||
Mastodon</a>
|
||||
</p>
|
||||
</section>
|
||||
<section class="login"></section>
|
||||
<section id="help">
|
||||
<h2>Support:</h2>
|
||||
<p>
|
||||
👉 If in any way you want to support or contribute to the content and functionality of 🚀 ApolloNvim, please let me know.
|
||||
</p>
|
||||
<p>👉 You can also support this project with a few Satoshi:</p>
|
||||
<img class="sat" src="https://lukan.cz/wp-content/uploads/2025/01/0a895d16-ce64-4e8a-9a9d-05c568dc916e_1124x1532-220x300.webp" alt="Satoshi" />
|
||||
</section>
|
||||
<section id="other">
|
||||
<h2>Other projects and links:</h2>
|
||||
<p>
|
||||
👉 <a href="https://arch-linux.cz/" target="_blank">ArchLinux CZ</a>
|
||||
</p>
|
||||
<p>
|
||||
👉
|
||||
<a href="https://searxng.cz/" target="_blank">Vyhledávač SearXNG CZ</a>
|
||||
</p>
|
||||
<p>
|
||||
👉
|
||||
<a href="https://endeavouros.com/" target="_blank">EndeavourOS Linux</a>
|
||||
</p>
|
||||
<p>
|
||||
👉 <a href="https://i3wm.org/" target="_blank">i3 window manager</a>
|
||||
</p>
|
||||
</section>
|
||||
<button onclick="scrollToTop()" id="scrollToTopBtn" title="Go to top">
|
||||
<i class="fas fa-arrow-up"></i>
|
||||
</button>
|
||||
<footer>
|
||||
Copyright ©
|
||||
<a href="https://codeberg.org/Kankys" target="_blank">Lukáš Kaňka</a>
|
||||
2024 -2025
|
||||
</footer>
|
||||
</section>
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
|
||||
<div id="toc-collapse" class="navbar-collapse collapse card bg-body-tertiary">
|
||||
<ul class="nav flex-column">
|
||||
|
||||
<li class="nav-item" data-bs-level="1"><a href="#aj-verze" class="nav-link">AJ VERZE</a>
|
||||
<ul class="nav flex-column">
|
||||
<li class="nav-item" data-bs-level="2"><a href="#commands" class="nav-link">Commands</a>
|
||||
<ul class="nav flex-column">
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item" data-bs-level="2"><a href="#project-layout" class="nav-link">Project layout</a>
|
||||
<ul class="nav flex-column">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div></div>
|
||||
<div class="col-md-9" role="main">
|
||||
|
||||
<h1 id="aj-verze">AJ VERZE</h1>
|
||||
<p>For full documentation visit <a href="https://www.mkdocs.org">mkdocs.org</a>.</p>
|
||||
<h2 id="commands">Commands</h2>
|
||||
<ul>
|
||||
<li><code>mkdocs new [dir-name]</code> - Create a new project.</li>
|
||||
<li><code>mkdocs serve</code> - Start the live-reloading docs server.</li>
|
||||
<li><code>mkdocs build</code> - Build the documentation site.</li>
|
||||
<li><code>mkdocs -h</code> - Print help message and exit.</li>
|
||||
</ul>
|
||||
<h2 id="project-layout">Project layout</h2>
|
||||
<pre><code>mkdocs.yml # The configuration file.
|
||||
docs/
|
||||
index.md # The documentation homepage.
|
||||
... # Other markdown pages, images and other files.
|
||||
</code></pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer class="col-md-12">
|
||||
<hr>
|
||||
<p>Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
|
||||
</footer>
|
||||
<script src="js/bootstrap.bundle.min.js"></script>
|
||||
<script>
|
||||
var base_url = ".",
|
||||
shortcuts = {"help": 191, "next": 78, "previous": 80, "search": 83};
|
||||
</script>
|
||||
<script src="js/base.js"></script>
|
||||
<script src="search/main.js"></script>
|
||||
|
||||
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="dialog" aria-labelledby="searchModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="searchModalLabel">Search</h4>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>From here you can search these documents. Enter your search terms below.</p>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<input type="search" class="form-control" placeholder="Search..." id="mkdocs-search-query" title="Type search term here">
|
||||
</div>
|
||||
</form>
|
||||
<div id="mkdocs-search-results" data-no-results-text="No results found"></div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div class="modal" id="mkdocs_keyboard_modal" tabindex="-1" role="dialog" aria-labelledby="keyboardModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="keyboardModalLabel">Keyboard Shortcuts</h4>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 20%;">Keys</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="help shortcut"><kbd>?</kbd></td>
|
||||
<td>Open this help</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="next shortcut"><kbd>n</kbd></td>
|
||||
<td>Next page</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="prev shortcut"><kbd>p</kbd></td>
|
||||
<td>Previous page</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="search shortcut"><kbd>s</kbd></td>
|
||||
<td>Search</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<!--
|
||||
MkDocs version : 1.6.1
|
||||
Build Date UTC : 2025-02-03 22:14:42.733311+00:00
|
||||
-->
|
||||
|
313
en/install.html
313
en/install.html
@ -1,313 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="description" content="ApolloNvim freedom in programming...." />
|
||||
<meta name="keywords" content="ApolloNvim Distro Installation" />
|
||||
<meta name="author" content="Kankys" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<link rel="shortcut icon" href="../img/apollonvim.jpg" />
|
||||
<!--nav bar-->
|
||||
<script
|
||||
src="https://kit.fontawesome.com/0a43c6cd1f.js"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<!--icons dark, go to up-->
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
|
||||
/>
|
||||
<!--ubuntu fonts-->
|
||||
<style>
|
||||
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
|
||||
</style>
|
||||
<title>ApolloNvim Installation</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<h1 class="title"><a href="index.html">🚀ApolloNvim</a></h1>
|
||||
|
||||
<!-- Terminal - navigation -->
|
||||
<nav class="navigation">
|
||||
<ul>
|
||||
<li><a href="index.html">Home</a></li>
|
||||
<li>
|
||||
<a href="plugins.html">Plugins</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="tutorials.html">Tutorials</a>
|
||||
</li>
|
||||
<li><a href="/cz/index.html">Česky</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="menu-icon">
|
||||
<!-- Ikona hamburger -->
|
||||
<i class="fa-solid fa-bars"></i>
|
||||
<!-- Ikona cross -->
|
||||
<!-- <i class="fa-solid fa-xmark"></i> -->
|
||||
</div>
|
||||
</header>
|
||||
<hr />
|
||||
<section class="content" id="welcome">
|
||||
<p>
|
||||
<strong>
|
||||
Before installing new plugins, always check the documentation for
|
||||
the plugins on Github. This will prevent potential problems! If
|
||||
you're not sure about the procedure or something is not clear, you'd
|
||||
better check the documentation,write to us or the forums to find the
|
||||
answer.
|
||||
</strong>
|
||||
</p>
|
||||
<section id="install">
|
||||
<h2>Installation and setup Start Edition:</h2>
|
||||
|
||||
|
||||
<p>
|
||||
👉 If you don't have it yet, install
|
||||
<a href="https://neovim.io/" target="_blank">Neovim</a>.
|
||||
</p>
|
||||
<p>👉 You will need to install plug.vim to install the extension.</p>
|
||||
<p>
|
||||
👉 Go to this
|
||||
<a href="https://github.com/junegunn/vim-plug" target="_blank"
|
||||
>page</a
|
||||
>
|
||||
under Installation find your operating system and copy the link under
|
||||
it into your terminal.
|
||||
</p>
|
||||
<p>👉 But first back up your current Neovim settings!!!</p>
|
||||
<p>👉 Linux & Mac:</p>
|
||||
<div class="code-box">
|
||||
<p>/home/user/.config/nvim/init.vim</p>
|
||||
</div>
|
||||
<p>Windows:</p>
|
||||
<div class="code-box">
|
||||
<p>~\AppData\Local\nvim</p>
|
||||
</div>
|
||||
</section>
|
||||
<section id="neovim">
|
||||
<h2>Neovim:</h2>
|
||||
<p>
|
||||
👉 The easiest way to install 🚀 ApolloNvim Distro for Linux and macOS
|
||||
is to download this repository with the command :
|
||||
</p>
|
||||
<div class="code-box">
|
||||
<p>
|
||||
git clone -b nvim https://codeberg.org/Kankys/ApolloNvim2025.git
|
||||
~/.config/nvim
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
👉 Note this command above will overwrite the existing nvim folder in
|
||||
~/.config/nvim.
|
||||
<strong
|
||||
>Don't forget to back up the existing nvim folder before you
|
||||
overwrite it with a new one from this repository, for example by
|
||||
renaming the original nvim.bak.</strong
|
||||
>
|
||||
</p>
|
||||
<p>
|
||||
👉 But if you want you can configure Nvim to your liking and just get
|
||||
inspired.
|
||||
</p>
|
||||
<p>
|
||||
👉 You can run neovim in the terminal with the
|
||||
<strong>nvim</strong> command.
|
||||
</p>
|
||||
<p>👉 Click on error messages.</p>
|
||||
<p>
|
||||
👉 In Neovim, type <strong>PlugInstall</strong> in the command line , this will install all plugins. Restart Neovim.
|
||||
</p>
|
||||
<p>
|
||||
👉 If you are missing a plugin, you can easily install or uninstall it using <strong>plug.vim</strong>. You can find more information on GitHub <a href="https://github.com/junegunn/vim-plug" target="_blank"
|
||||
>plug.vim</a
|
||||
> or I'd be happy to advise you see about us.
|
||||
</p>
|
||||
<p>
|
||||
👉 If you don't want to use a plugin, just comment it out in the <strong>init.vim</strong> file using double quotes <strong>"</strong>.
|
||||
</p>
|
||||
<p>
|
||||
👉 Enter the Coc command in the command line to install the remaining plugins:
|
||||
</p>
|
||||
<div class="code-box">
|
||||
<p>
|
||||
CocInstall coc-markdown-preview-enhanced coc-webview
|
||||
</p>
|
||||
</div>
|
||||
<p>👉 Reboot Neovim once more and you're all set.</p>
|
||||
<p>
|
||||
👉 I use this configuration on both Linux and macOS. It is also tested on Windows 11.
|
||||
</p>
|
||||
</section>
|
||||
<section id="install">
|
||||
<h2>Installation and setup FrontEnd Edition:</h2>
|
||||
|
||||
|
||||
<p>
|
||||
👉 If you don't have it yet, install
|
||||
<a href="https://neovim.io/" target="_blank">Neovim</a>.
|
||||
</p>
|
||||
<p>👉 You will need to install plug.vim to install the extension.</p>
|
||||
<p>
|
||||
👉 Go to this
|
||||
<a href="https://github.com/junegunn/vim-plug" target="_blank"
|
||||
>page</a
|
||||
>
|
||||
under Installation find your operating system and copy the link under
|
||||
it into your terminal.
|
||||
</p>
|
||||
<p>👉 But first back up your current Neovim settings!!!</p>
|
||||
<p>👉 Linux & Mac:</p>
|
||||
<div class="code-box">
|
||||
<p>/home/user/.config/nvim/init.vim</p>
|
||||
</div>
|
||||
<p>Windows:</p>
|
||||
<div class="code-box">
|
||||
<p>~\AppData\Local\nvim</p>
|
||||
</div>
|
||||
</section>
|
||||
<section id="node">
|
||||
<h2>Node.js:</h2>
|
||||
<p>
|
||||
This section is not important if you are not interested in web
|
||||
application development.
|
||||
</p>
|
||||
<p>
|
||||
👉 I recommend to have
|
||||
<a href="https://nodejs.org/en" href="_blank">Node.js</a> installed.
|
||||
</p>
|
||||
<p>
|
||||
👉 Next, install the
|
||||
<a href="https://www.npmjs.com/package/live-server" target="_blank"
|
||||
>Live-server</a
|
||||
>
|
||||
in Node.js with the command:
|
||||
</p>
|
||||
<div class="code-box">
|
||||
<p>npm i live-server</p>
|
||||
</div>
|
||||
<p>
|
||||
👉 In your project you will be able to run your index.html command:
|
||||
</p>
|
||||
<div class="code-box">
|
||||
<p>npx live-server</p>
|
||||
</div>
|
||||
<p>👉 For proper LSP functionality, install the following packages:</p>
|
||||
|
||||
<p>
|
||||
<a
|
||||
href="https://github.com/microsoft/vscode-html-languageservice"
|
||||
target="_blank"
|
||||
>vscode-html-langserver</a
|
||||
>
|
||||
</p>
|
||||
<p>
|
||||
<a
|
||||
href="https://github.com/microsoft/vscode-css-languageservice"
|
||||
target="_blank"
|
||||
>vscode-css-langserver</a
|
||||
>
|
||||
</p>
|
||||
<p>
|
||||
<a
|
||||
href="https://github.com/typescript-language-server/typescript-language-server"
|
||||
target="_blank"
|
||||
>typescript-language-server</a
|
||||
>
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://github.com/aca/emmet-ls" target="_blank">emmet-ls</a>
|
||||
</p>
|
||||
<p>
|
||||
<a
|
||||
href="https://eslint.org/docs/latest/use/getting-started"
|
||||
target="_blank"
|
||||
>eslint</a
|
||||
>
|
||||
</p>
|
||||
<p>
|
||||
<a
|
||||
href="https://github.com/tailwindlabs/tailwindcss-intellisense/blob/master/packages/tailwindcss-language-server/README.md"
|
||||
target="_blank"
|
||||
>vtailwindcss-language-server</a
|
||||
>
|
||||
</p>
|
||||
</section>
|
||||
<section id="neovim">
|
||||
<h2>Neovim:</h2>
|
||||
<p>
|
||||
👉 The easiest way to install 🚀 ApolloNvim Distro for Linux and macOS
|
||||
is to download this repository with the command :
|
||||
</p>
|
||||
<div class="code-box">
|
||||
<p>
|
||||
git clone -b frontend https://codeberg.org/Kankys/ApolloNvim2025.git
|
||||
~/.config/nvim
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
👉 Note this command above will overwrite the existing nvim folder in
|
||||
~/.config/nvim.
|
||||
<strong
|
||||
>Don't forget to back up the existing nvim folder before you
|
||||
overwrite it with a new one from this repository, for example by
|
||||
renaming the original nvim.bak.</strong
|
||||
>
|
||||
</p>
|
||||
<p>
|
||||
👉 But if you want you can configure Nvim to your liking and just get
|
||||
inspired.
|
||||
</p>
|
||||
<p>
|
||||
👉 You can run neovim in the terminal with the
|
||||
<strong>nvim</strong> command.
|
||||
</p>
|
||||
<p>👉 Click on error messages.</p>
|
||||
<p>
|
||||
👉 In Neovim, type <strong>PlugInstall</strong> in the command line , this will install all plugins. Restart Neovim.
|
||||
</p>
|
||||
<p>
|
||||
👉 If you are missing a plugin, you can easily install or uninstall it using <strong>plug.vim</strong>. You can find more information on GitHub <a href="https://github.com/junegunn/vim-plug" target="_blank"
|
||||
>plug.vim</a
|
||||
> or I'd be happy to advise you see about us.
|
||||
</p>
|
||||
<p>
|
||||
👉 If you don't want to use a plugin, just comment it out in the <strong>init.vim</strong> file using double quotes <strong>"</strong>.
|
||||
</p>
|
||||
<p>
|
||||
👉 Enter the Coc command in the command line to install the remaining plugins:
|
||||
</p>
|
||||
<div class="code-box">
|
||||
<p>
|
||||
CocInstall coc-tailwindcss coc-json coc-html-css-support coc-html
|
||||
coc-emmet coc-xml coc-tsserver coc-lsp-wl coc-lit-html
|
||||
coc-htmldjango coc-css coc-markdown-preview-enhanced coc-webview
|
||||
coc-phpls coc-prettier coc-eslint
|
||||
</p>
|
||||
</div>
|
||||
<p>👉 Reboot Neovim once more and you're all set.</p>
|
||||
<p>
|
||||
👉 I use this configuration on both Linux and macOS. It is also tested on Windows 11.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<button onclick="scrollToTop()" id="scrollToTopBtn" title="Go to top">
|
||||
<i class="fas fa-arrow-up"></i>
|
||||
</button>
|
||||
<footer>
|
||||
Copyright ©
|
||||
<a href="https://codeberg.org/Kankys" target="_blank"
|
||||
>Lukáš Kaňka</a
|
||||
>
|
||||
2024 - 2025
|
||||
</footer>
|
||||
</section>
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
287
en/js/base.js
Normal file
287
en/js/base.js
Normal file
@ -0,0 +1,287 @@
|
||||
function getSearchTerm() {
|
||||
var sPageURL = window.location.search.substring(1);
|
||||
var sURLVariables = sPageURL.split('&');
|
||||
for (var i = 0; i < sURLVariables.length; i++) {
|
||||
var sParameterName = sURLVariables[i].split('=');
|
||||
if (sParameterName[0] == 'q') {
|
||||
return sParameterName[1];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function applyTopPadding() {
|
||||
// Update various absolute positions to match where the main container
|
||||
// starts. This is necessary for handling multi-line nav headers, since
|
||||
// that pushes the main container down.
|
||||
var container = document.querySelector('body > .container');
|
||||
var offset = container.offsetTop;
|
||||
|
||||
document.documentElement.style.scrollPaddingTop = offset + 'px';
|
||||
document.querySelectorAll('.bs-sidebar.affix').forEach(function(sidebar) {
|
||||
sidebar.style.top = offset + 'px';
|
||||
});
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
var search_term = getSearchTerm();
|
||||
var search_modal = new bootstrap.Modal(document.getElementById('mkdocs_search_modal'));
|
||||
var keyboard_modal = new bootstrap.Modal(document.getElementById('mkdocs_keyboard_modal'));
|
||||
|
||||
if (search_term) {
|
||||
search_modal.show();
|
||||
}
|
||||
|
||||
// make sure search input gets autofocus every time modal opens.
|
||||
document.getElementById('mkdocs_search_modal').addEventListener('shown.bs.modal', function() {
|
||||
document.getElementById('mkdocs-search-query').focus();
|
||||
});
|
||||
|
||||
// Close search modal when result is selected
|
||||
// The links get added later so listen to parent
|
||||
document.getElementById('mkdocs-search-results').addEventListener('click', function(e) {
|
||||
if (e.target.tagName === 'A') {
|
||||
search_modal.hide();
|
||||
}
|
||||
});
|
||||
|
||||
// Populate keyboard modal with proper Keys
|
||||
document.querySelector('.help.shortcut kbd').innerHTML = keyCodes[shortcuts.help];
|
||||
document.querySelector('.prev.shortcut kbd').innerHTML = keyCodes[shortcuts.previous];
|
||||
document.querySelector('.next.shortcut kbd').innerHTML = keyCodes[shortcuts.next];
|
||||
document.querySelector('.search.shortcut kbd').innerHTML = keyCodes[shortcuts.search];
|
||||
|
||||
// Keyboard navigation
|
||||
document.addEventListener("keydown", function(e) {
|
||||
if (e.target.tagName === 'INPUT' || e.target.tagName === 'TEXTAREA') return true;
|
||||
var key = e.which || e.keyCode || window.event && window.event.keyCode;
|
||||
var page;
|
||||
switch (key) {
|
||||
case shortcuts.next:
|
||||
page = document.querySelector('.navbar a[rel="next"]');
|
||||
break;
|
||||
case shortcuts.previous:
|
||||
page = document.querySelector('.navbar a[rel="prev"]');
|
||||
break;
|
||||
case shortcuts.search:
|
||||
e.preventDefault();
|
||||
keyboard_modal.hide();
|
||||
search_modal.show();
|
||||
document.getElementById('mkdocs-search-query').focus();
|
||||
break;
|
||||
case shortcuts.help:
|
||||
search_modal.hide();
|
||||
keyboard_modal.show();
|
||||
break;
|
||||
default: break;
|
||||
}
|
||||
if (page && page.hasAttribute('href')) {
|
||||
keyboard_modal.hide();
|
||||
window.location.href = page.getAttribute('href');
|
||||
}
|
||||
});
|
||||
|
||||
document.querySelectorAll('table').forEach(function(table) {
|
||||
table.classList.add('table', 'table-striped', 'table-hover');
|
||||
});
|
||||
|
||||
function showInnerDropdown(item) {
|
||||
var popup = item.nextElementSibling;
|
||||
popup.classList.add('show');
|
||||
item.classList.add('open');
|
||||
|
||||
// First, close any sibling dropdowns.
|
||||
var container = item.parentElement.parentElement;
|
||||
container.querySelectorAll(':scope > .dropdown-submenu > a').forEach(function(el) {
|
||||
if (el !== item) {
|
||||
hideInnerDropdown(el);
|
||||
}
|
||||
});
|
||||
|
||||
var popupMargin = 10;
|
||||
var maxBottom = window.innerHeight - popupMargin;
|
||||
var bounds = item.getBoundingClientRect();
|
||||
|
||||
popup.style.left = bounds.right + 'px';
|
||||
if (bounds.top + popup.clientHeight > maxBottom &&
|
||||
bounds.top > window.innerHeight / 2) {
|
||||
popup.style.top = (bounds.bottom - popup.clientHeight) + 'px';
|
||||
popup.style.maxHeight = (bounds.bottom - popupMargin) + 'px';
|
||||
} else {
|
||||
popup.style.top = bounds.top + 'px';
|
||||
popup.style.maxHeight = (maxBottom - bounds.top) + 'px';
|
||||
}
|
||||
}
|
||||
|
||||
function hideInnerDropdown(item) {
|
||||
var popup = item.nextElementSibling;
|
||||
popup.classList.remove('show');
|
||||
item.classList.remove('open');
|
||||
|
||||
popup.scrollTop = 0;
|
||||
var menu = popup.querySelector('.dropdown-menu');
|
||||
if (menu) {
|
||||
menu.scrollTop = 0;
|
||||
}
|
||||
var dropdown = popup.querySelector('.dropdown-submenu > a');
|
||||
if (dropdown) {
|
||||
dropdown.classList.remove('open');
|
||||
}
|
||||
}
|
||||
|
||||
document.querySelectorAll('.dropdown-submenu > a').forEach(function(item) {
|
||||
item.addEventListener('click', function(e) {
|
||||
if (item.nextElementSibling.classList.contains('show')) {
|
||||
hideInnerDropdown(item);
|
||||
} else {
|
||||
showInnerDropdown(item);
|
||||
}
|
||||
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
});
|
||||
});
|
||||
|
||||
document.querySelectorAll('.dropdown-menu').forEach(function(menu) {
|
||||
menu.parentElement.addEventListener('hide.bs.dropdown', function() {
|
||||
menu.scrollTop = 0;
|
||||
var dropdown = menu.querySelector('.dropdown-submenu > a');
|
||||
if (dropdown) {
|
||||
dropdown.classList.remove('open');
|
||||
}
|
||||
menu.querySelectorAll('.dropdown-menu .dropdown-menu').forEach(function(submenu) {
|
||||
submenu.classList.remove('show');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
applyTopPadding();
|
||||
});
|
||||
|
||||
window.addEventListener('resize', applyTopPadding);
|
||||
|
||||
var scrollSpy = new bootstrap.ScrollSpy(document.body, {
|
||||
target: '.bs-sidebar'
|
||||
});
|
||||
|
||||
/* Prevent disabled links from causing a page reload */
|
||||
document.querySelectorAll("li.disabled a").forEach(function(item) {
|
||||
item.addEventListener("click", function(event) {
|
||||
event.preventDefault();
|
||||
});
|
||||
});
|
||||
|
||||
// See https://www.cambiaresearch.com/articles/15/javascript-char-codes-key-codes
|
||||
// We only list common keys below. Obscure keys are omitted and their use is discouraged.
|
||||
var keyCodes = {
|
||||
8: 'backspace',
|
||||
9: 'tab',
|
||||
13: 'enter',
|
||||
16: 'shift',
|
||||
17: 'ctrl',
|
||||
18: 'alt',
|
||||
19: 'pause/break',
|
||||
20: 'caps lock',
|
||||
27: 'escape',
|
||||
32: 'spacebar',
|
||||
33: 'page up',
|
||||
34: 'page down',
|
||||
35: 'end',
|
||||
36: 'home',
|
||||
37: '←',
|
||||
38: '↑',
|
||||
39: '→',
|
||||
40: '↓',
|
||||
45: 'insert',
|
||||
46: 'delete',
|
||||
48: '0',
|
||||
49: '1',
|
||||
50: '2',
|
||||
51: '3',
|
||||
52: '4',
|
||||
53: '5',
|
||||
54: '6',
|
||||
55: '7',
|
||||
56: '8',
|
||||
57: '9',
|
||||
65: 'a',
|
||||
66: 'b',
|
||||
67: 'c',
|
||||
68: 'd',
|
||||
69: 'e',
|
||||
70: 'f',
|
||||
71: 'g',
|
||||
72: 'h',
|
||||
73: 'i',
|
||||
74: 'j',
|
||||
75: 'k',
|
||||
76: 'l',
|
||||
77: 'm',
|
||||
78: 'n',
|
||||
79: 'o',
|
||||
80: 'p',
|
||||
81: 'q',
|
||||
82: 'r',
|
||||
83: 's',
|
||||
84: 't',
|
||||
85: 'u',
|
||||
86: 'v',
|
||||
87: 'w',
|
||||
88: 'x',
|
||||
89: 'y',
|
||||
90: 'z',
|
||||
91: 'Left Windows Key / Left ⌘',
|
||||
92: 'Right Windows Key',
|
||||
93: 'Windows Menu / Right ⌘',
|
||||
96: 'numpad 0',
|
||||
97: 'numpad 1',
|
||||
98: 'numpad 2',
|
||||
99: 'numpad 3',
|
||||
100: 'numpad 4',
|
||||
101: 'numpad 5',
|
||||
102: 'numpad 6',
|
||||
103: 'numpad 7',
|
||||
104: 'numpad 8',
|
||||
105: 'numpad 9',
|
||||
106: 'multiply',
|
||||
107: 'add',
|
||||
109: 'subtract',
|
||||
110: 'decimal point',
|
||||
111: 'divide',
|
||||
112: 'f1',
|
||||
113: 'f2',
|
||||
114: 'f3',
|
||||
115: 'f4',
|
||||
116: 'f5',
|
||||
117: 'f6',
|
||||
118: 'f7',
|
||||
119: 'f8',
|
||||
120: 'f9',
|
||||
121: 'f10',
|
||||
122: 'f11',
|
||||
123: 'f12',
|
||||
124: 'f13',
|
||||
125: 'f14',
|
||||
126: 'f15',
|
||||
127: 'f16',
|
||||
128: 'f17',
|
||||
129: 'f18',
|
||||
130: 'f19',
|
||||
131: 'f20',
|
||||
132: 'f21',
|
||||
133: 'f22',
|
||||
134: 'f23',
|
||||
135: 'f24',
|
||||
144: 'num lock',
|
||||
145: 'scroll lock',
|
||||
186: ';',
|
||||
187: '=',
|
||||
188: ',',
|
||||
189: '‐',
|
||||
190: '.',
|
||||
191: '?',
|
||||
192: '`',
|
||||
219: '[',
|
||||
220: '\',
|
||||
221: ']',
|
||||
222: ''',
|
||||
};
|
7
en/js/bootstrap.bundle.min.js
vendored
Normal file
7
en/js/bootstrap.bundle.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
en/js/bootstrap.bundle.min.js.map
Normal file
1
en/js/bootstrap.bundle.min.js.map
Normal file
File diff suppressed because one or more lines are too long
65
en/js/darkmode.js
Normal file
65
en/js/darkmode.js
Normal file
@ -0,0 +1,65 @@
|
||||
function setColorMode(mode) {
|
||||
// Switch between light/dark theme. `mode` is a string value of either 'dark' or 'light'.
|
||||
var hljs_light = document.getElementById('hljs-light'),
|
||||
hljs_dark = document.getElementById('hljs-dark');
|
||||
document.documentElement.setAttribute('data-bs-theme', mode);
|
||||
if (mode == 'dark') {
|
||||
hljs_light.disabled = true;
|
||||
hljs_dark.disabled = false;
|
||||
} else {
|
||||
hljs_dark.disabled = true;
|
||||
hljs_light.disabled = false;
|
||||
}
|
||||
}
|
||||
|
||||
function updateModeToggle(mode) {
|
||||
// Update icon and toggle checkmarks of color mode selector.
|
||||
var menu = document.getElementById('theme-menu');
|
||||
document.querySelectorAll('[data-bs-theme-value]')
|
||||
.forEach(function(toggle) {
|
||||
if (mode == toggle.getAttribute('data-bs-theme-value')) {
|
||||
toggle.setAttribute('aria-pressed', 'true');
|
||||
toggle.lastElementChild.classList.remove('d-none');
|
||||
menu.firstElementChild.setAttribute('class', toggle.firstElementChild.getAttribute('class'));
|
||||
} else {
|
||||
toggle.setAttribute('aria-pressed', 'false');
|
||||
toggle.lastElementChild.classList.add('d-none');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function onSystemColorSchemeChange(event) {
|
||||
// Update site color mode to match system color mode.
|
||||
setColorMode(event.matches ? 'dark' : 'light');
|
||||
}
|
||||
|
||||
var mql = window.matchMedia('(prefers-color-scheme: dark)'),
|
||||
defaultMode = document.documentElement.getAttribute('data-bs-theme'),
|
||||
storedMode = localStorage.getItem('mkdocs-colormode');
|
||||
if (storedMode && storedMode != 'auto') {
|
||||
setColorMode(storedMode);
|
||||
updateModeToggle(storedMode);
|
||||
} else if (storedMode == 'auto' || defaultMode == 'auto') {
|
||||
setColorMode(mql.matches ? 'dark' : 'light');
|
||||
updateModeToggle('auto');
|
||||
mql.addEventListener('change', onSystemColorSchemeChange);
|
||||
} else {
|
||||
setColorMode(defaultMode);
|
||||
updateModeToggle(defaultMode);
|
||||
}
|
||||
|
||||
document.querySelectorAll('[data-bs-theme-value]')
|
||||
.forEach(function(toggle) {
|
||||
toggle.addEventListener('click', function (e) {
|
||||
var mode = e.currentTarget.getAttribute('data-bs-theme-value');
|
||||
localStorage.setItem('mkdocs-colormode', mode);
|
||||
if (mode == 'auto') {
|
||||
setColorMode(mql.matches ? 'dark' : 'light');
|
||||
mql.addEventListener('change', onSystemColorSchemeChange);
|
||||
} else {
|
||||
setColorMode(mode);
|
||||
mql.removeEventListener('change', onSystemColorSchemeChange);
|
||||
}
|
||||
updateModeToggle(mode);
|
||||
});
|
||||
});
|
187
en/plugins.html
187
en/plugins.html
@ -1,187 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="description" content="ApolloNvim freedom in programming...." />
|
||||
<meta name="keywords" content="ApolloNvim Distro Plugins" />
|
||||
<meta name="author" content="Kankys" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<link rel="shortcut icon" href="../img/apollonvim.jpg" />
|
||||
<!--nav bar-->
|
||||
<script src="https://kit.fontawesome.com/0a43c6cd1f.js" crossorigin="anonymous"></script>
|
||||
<!--icons dark, go to up-->
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" />
|
||||
<!--ubuntu fonts-->
|
||||
<style>
|
||||
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
|
||||
</style>
|
||||
<title>ApolloNvim Pluginy</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<h1 class="title"><a href="index.html">🚀ApolloNvim</a></h1>
|
||||
|
||||
<!-- Terminal - navigation -->
|
||||
<nav class="navigation">
|
||||
<ul>
|
||||
<li><a href="index.html">Home</a></li>
|
||||
<li><a href="install.html">Installation</a></li>
|
||||
<li><a href="tutorials.html">Tutorials</a></li>
|
||||
<li><a href="/cz/index.html">Česky</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="menu-icon">
|
||||
<!-- Ikona hamburger -->
|
||||
<i class="fa-solid fa-bars"></i>
|
||||
<!-- Ikona cross -->
|
||||
<!-- <i class="fa-solid fa-xmark"></i> -->
|
||||
</div>
|
||||
</header>
|
||||
<hr />
|
||||
|
||||
<!--Začátek sekcí - co h2 sekce + fotogalerie-->
|
||||
<section class="content" id="welcome">
|
||||
|
||||
<section id="plugin">
|
||||
<h2>Plugins 🚀 ApolloNvim Distro</h2>
|
||||
<p>
|
||||
Security and privacy are the most important things, which is why this list is here. In the list you will find all the plugins used in this configuration with a link to the source. Plugins you don't want to use can be commented out or deleted in init.vim. In the case of Coc plugin, omit the plugin-name when you run CocInstall.
|
||||
</p>
|
||||
<p>
|
||||
👉
|
||||
<a href="https://github.com/m4xshen/autoclose.nvim" target="_blank">Autoclosetag</a> tool for closing all types of brackets and tags.
|
||||
</p>
|
||||
<p>
|
||||
👉 <a href="https://github.com/neoclide/coc.nvim" target="_blank">Coc</a> package manager for installing add-ons to Neovim.
|
||||
</p>
|
||||
<p>
|
||||
👉
|
||||
<a href="https://github.com/valsorym/scrooloose-nerdtree" target="_blank">NERDTree</a> creates a tree sidebar for you.
|
||||
</p>
|
||||
<p>
|
||||
👉
|
||||
<a href="https://github.com/neoclide/coc.nvim" target="_blank">Coc</a> manager for installing add-ons to Neovim.
|
||||
</p>
|
||||
<p>
|
||||
👉 <a href="https://github.com/othree/html5.vim" target="_blank">html5.vim</a> plugin for highlighting HTML syntax.
|
||||
</p>
|
||||
<p>
|
||||
👉 <a href="https://github.com/valsorym/scrooloose-nerdtree" target="_blank">NERDTree</a> creates a tree sidebar for you.
|
||||
</p>
|
||||
<p>
|
||||
👉
|
||||
<a href="https://github.com/Exafunction/codeium.vim" target="_blank">Codeium</a> Introduction alternative to GitHub Copilot, which you can also easily
|
||||
(Commented active TabNine replacement)
|
||||
</p>
|
||||
<p>
|
||||
👉 <a href="https://github.com/codota/tabnine-nvim" target="_blank">Tabnine</a> alternative to GitHub Copilot, which you can also easily install.
|
||||
</p>
|
||||
<p>
|
||||
👉
|
||||
<a href="https://github.com/mhinz/vim-startify" target="_blank">Startify</a> an alternative welcome screen with a different IT theme each time. It doesn't have to
|
||||
work with some terminals or NERDTree set to start after
|
||||
boot.
|
||||
</p
|
||||
<p>
|
||||
👉
|
||||
<a href="https://github.com/preservim/nerdcommenter" target="_blank">NERD Commenter</a> plugin for commenting and uncommenting code. Here we have it set up
|
||||
to <strong>Ctrl + k</strong>.
|
||||
</p>
|
||||
<p>
|
||||
👉
|
||||
<a href="https://wakatime.com/neovim" target="_blank">Wakatime</a> a service that is able to measure how much time you spent coding
|
||||
on the computer and on which project. The service simply connects via API.
|
||||
You can find WakaTime <a href="https://wakatime.com/" target="_blank">here</a>.
|
||||
</p>
|
||||
<p>
|
||||
👉
|
||||
<a href="https://github.com/Pocco81/auto-save.nvim" target="_blank">Auto-save</a> plugin to automatically save your files.
|
||||
</p>
|
||||
<p>
|
||||
👉 <a href="https://github.com/nvim-treesitter/nvim-treesitter" target="_blank">Tree-sitter</a> plugin for code highlighting.
|
||||
</p>
|
||||
<p>
|
||||
👉 <a href="https://github.com/shellRaining/hlchunk.nvim" target="_blank">Hlchunk</a> connects the code with vertical lines.
|
||||
</p>
|
||||
<p>
|
||||
👉 <a href="https://github.com/tpope/vim-fugitive" target="_blank">Vim-Fugitive</a> plugin for git.
|
||||
</p>
|
||||
<p>
|
||||
👉 <a href="https://github.com/lilydjwg/colorizer" target="_blank">Colorizer</a> plugin for color preview by code designation.
|
||||
</p>
|
||||
<p>
|
||||
👉 <a href="https://github.com/pangloss/vim-javascript" target="_blank">Vim - javascript</a> plugin for javascript support.
|
||||
</p>
|
||||
<p>
|
||||
👉 <a href="https://github.com/akinsho/toggleterm.nvim" target="_blank">Toggletherm</a> Improved terminal.
|
||||
</p>
|
||||
<p>
|
||||
👉 <a href="https://github.com/airblade/vim-gitgutter" target="_blank">Vim-Gitgutter</a> git help for a change in the code.
|
||||
</p>
|
||||
<p>
|
||||
👉 <a href="https://github.com/lewis6991/gitsigns.nvim" target="_blank">Gitsigns</a> shows changes in the code.
|
||||
</p>
|
||||
<p>
|
||||
👉 <a href="https://github.com/nvim-lua/plenary.nvim" target="_blank">Planery</a>
|
||||
</p>
|
||||
</section>
|
||||
<section id="coc">
|
||||
<h2>Coc extensions</h2>
|
||||
<p>👉 <a href="https://github.com/neoclide/coc.nvim" target="_blank">Coc</a> manager for installing add-ons to Neovim. </p>
|
||||
<p>👉 <a href="https://github.com/neoclide/coc.nvim/wiki/Using-coc-extensions" target="_blank">Coc extensions</a> under this link you can find all COC extensions for Neovim.</p>
|
||||
<p>👉 coc-tailwindcss</p>
|
||||
<p>👉 coc-json</p>
|
||||
<p>👉 coc-html-css-support</p>
|
||||
<p>👉 coc-html</p>
|
||||
<p>👉 coc-emmet</p>
|
||||
<p>👉 coc-xml</p>
|
||||
<p>👉 coc-tsserver</p>
|
||||
<p>👉 coc-lsp-wl</p>
|
||||
<p>👉 coc-lit-html</p>
|
||||
<p>👉 coc-htmldjango</p>
|
||||
<p>👉 coc-css</p>
|
||||
<p>👉 coc-markdown-preview-enhanced</p>
|
||||
<p>👉 coc-webview</p>
|
||||
<p>👉 coc-phpls</p>
|
||||
<p>👉 coc-prettier</p>
|
||||
<p>👉 coc-eslint</p>
|
||||
</section>
|
||||
<section id="themes">
|
||||
<h2>Colorschemes</h2>
|
||||
<p>👉 <a href="https://github.com/dracula/vim" target="_blank">Dracula</a> color theme for Neovim.</p>
|
||||
<p>👉 <a href="https://github.com/morhetz/gruvbox" target="_blank">Gruvbox</a> color theme for Neovim.</p>
|
||||
<p>👉 <a href="https://github.com/catppuccin/nvim" target="_blank">Catppuccin</a> color theme for Neovim.</p>
|
||||
<p>👉 <a href="https://github.com/arcticicestudio/nord-vim" target="_blank">Nord</a> color theme for Neovim.</p>
|
||||
<p>👉 <a href="https://github.com/ghifarit53/tokyonight-vim" >Tokyo Night</a> color theme for Neovim.</p>
|
||||
<p>👉 <a href="https://github.com/EdenEast/nightfox.nvim" target="_blank">Nightfox</a> color theme for Neovim.</p>
|
||||
<p>👉 <a href="https://github.com/sainnhe/sonokai" target="_blank">Sonokai</a> color theme for Neovim.</p>
|
||||
<p>👉 <a href="https://github.com/Tsuzat/NeoSolarized.nvim" target="_blank">NeoSolarized</a> color theme for Neovim.</p>
|
||||
<p>👉 <a href="https://github.com/bluz71/vim-moonfly-colors" target="_blank">Moonfly</a> color theme for Neovim.</p>
|
||||
<p>👉 <a href="https://github.com/joshdick/onedark.vim" target="_blank">Onedark</a> color theme for Neovim.</p>
|
||||
<p>👉 <a href="https://github.com/sainnhe/edge" target="_blank">Edge</a> color theme for Neovim.</p>
|
||||
<p>👉 <a href="https://github.com/vim-airline/vim-airline" target="_blank">Airline</a> color theme for Neovim.</p>
|
||||
<p>👉 <a href="https://github.com/projekt0n/github-nvim-theme" target="_blank">GitHub</a> color theme for Neovim.</p>
|
||||
<p>👉 <a href="https://github.com/bluz71/vim-nightfly-colors" target="_blank">Nightfly</a> color theme for Neovim.</p>
|
||||
<p>👉 <a href="https://github.com/xero/miasma.nvim" target="_blank">Miasma</a> color theme for Neovim.</p>
|
||||
<p>👉 <a href="https://github.com/sts10/vim-pink-moon" target="_blank">Pink moon</a> color theme for Neovim.</p>
|
||||
<p>👉 <a href="https://github.com/tlhr/anderson.vim" target="_blank">Anderson</a> color theme for Neovim.</p>
|
||||
<p>👉 <a href="https://github.com/jacoborus/tender.vim" target="_blank">Tender</a> color theme for Neovim.</p>
|
||||
<p>👉 <a href="https://github.com/haishanh/night-owl.vim" target="_blank">Night owl</a> color theme for Neovim.</p>
|
||||
</section>
|
||||
<button onclick="scrollToTop()" id="scrollToTopBtn" title="Go to top">
|
||||
<i class="fas fa-arrow-up"></i>
|
||||
</button>
|
||||
<footer>
|
||||
Copyright ©
|
||||
<a href="https://git.archoslinux.cz/kankys" target="_blank">Lukáš Kaňka</a>
|
||||
2024 - 2025
|
||||
</footer>
|
||||
</section>
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
149
en/script.js
149
en/script.js
@ -1,149 +0,0 @@
|
||||
//Navbar menu
|
||||
const menuIcon = document.querySelector(".menu-icon");
|
||||
const menuList = document.querySelector("nav");
|
||||
const hamburgerIcon = document.querySelector(".fa-solid");
|
||||
|
||||
menuIcon.addEventListener("click", () => {
|
||||
if (hamburgerIcon.classList[1] === "fa-bars") {
|
||||
hamburgerIcon.classList.add("fa-xmark");
|
||||
hamburgerIcon.classList.remove("fa-bars");
|
||||
menuList.style.display = "block";
|
||||
} else {
|
||||
hamburgerIcon.classList.add("fa-bars");
|
||||
hamburgerIcon.classList.remove("fa-xmark");
|
||||
menuList.style.display = "none";
|
||||
}
|
||||
});
|
||||
|
||||
// Dark / Light Mode
|
||||
/*
|
||||
const body = document.querySelector("body");
|
||||
const head = document.querySelector("header");
|
||||
const links = document.querySelectorAll("a");
|
||||
const nav = document.querySelector(".navigation");
|
||||
const h1 = document.querySelector("h1");
|
||||
const nadpish2 = document.querySelectorAll("h2");
|
||||
const p = document.querySelector("p");
|
||||
const solid = document.querySelector(".fa-solid");
|
||||
const solid1 = document.querySelector(".menu-icon");
|
||||
const footer = document.querySelector("footer");
|
||||
const gotop = document.querySelector("#scrollToTopBtn");
|
||||
const theme = document.querySelector("#toggleButton");
|
||||
const box = document.querySelectorAll(".code-box");
|
||||
let isDraculaMode = false;
|
||||
|
||||
// Funkce pro nastavení stylů pro Dracula mód
|
||||
function setDraculaStyles() {
|
||||
body.style.backgroundColor = "#2a232b";
|
||||
body.style.color = "#f8f8f2";
|
||||
head.style.backgroundColor = "#2a232b";
|
||||
theme.style.color = "#e7efa7";
|
||||
gotop.style.color = "#e7efa7";
|
||||
links.forEach((a) => {
|
||||
a.style.color = "#f76b00";
|
||||
});
|
||||
nav.style.backgroundColor = "#2a232b";
|
||||
h1.style.color = "#e54472";
|
||||
nadpish2.forEach((h2) => {
|
||||
h2.style.color = "#18f700";
|
||||
});
|
||||
solid.style.backgroundColor = "#2a232b";
|
||||
solid.style.color = "#f76b00";
|
||||
solid1.style.backgroundColor = "#2a232b";
|
||||
footer.style.backgroundColor = "#2a232b";
|
||||
//gotop.style.backgroundColor = "#18f700";
|
||||
//theme.style.backgroundColor = "#18f700";
|
||||
}
|
||||
|
||||
// Funkce pro nastavení stylů pro Light mód;
|
||||
function setLightStyles() {
|
||||
body.style.backgroundColor = "#e7efa7";
|
||||
body.style.color = "#282a36";
|
||||
theme.style.color = "#2a232b";
|
||||
gotop.style.color = "#2a232b";
|
||||
head.style.backgroundColor = "#e7efa7";
|
||||
nav.style.backgroundColor = "#e7efa7";
|
||||
solid.style.backgroundColor = "#e7efa7";
|
||||
solid1.style.backgroundColor = "#e7efa7";
|
||||
footer.style.backgroundColor = "#e7efa7";
|
||||
nadpish2.forEach((h2) => {
|
||||
h2.style.color = "#c627d8";
|
||||
});
|
||||
//gotop.style.backgroundColor = "#a7e6ef";
|
||||
//theme.style.backgroundColor = "#a7e6ef";
|
||||
box.forEach((p) => {
|
||||
p.style.color = "white";
|
||||
});
|
||||
}
|
||||
|
||||
// Funkce pro přepnutí módu
|
||||
function toggleMode() {
|
||||
if (isDraculaMode) {
|
||||
// Pokud je momentálně v Dracula modu, přepnout na Light mód
|
||||
setLightStyles();
|
||||
isDraculaMode = false;
|
||||
} else {
|
||||
// Pokud je momentálně v Light modu, přepnout na Dracula mód
|
||||
setDraculaStyles();
|
||||
isDraculaMode = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Funkce na změnu stylů
|
||||
document.getElementById("toggleButton").addEventListener("click", toggleMode);
|
||||
|
||||
// Nastavení - výchozí styl na Dark
|
||||
setDraculaStyles();
|
||||
isDraculaMode = true;
|
||||
*/
|
||||
|
||||
// Photo Gallery -> section (zoom)
|
||||
const image1 = document.querySelector(".picture");
|
||||
|
||||
image1.addEventListener("mouseenter", () => {
|
||||
image1.style.transform = "scale(2.2)";
|
||||
});
|
||||
|
||||
image1.addEventListener("mouseleave", () => {
|
||||
image1.style.transform = "scale(1)";
|
||||
});
|
||||
|
||||
const image2 = document.querySelector(".picture1");
|
||||
|
||||
image2.addEventListener("mouseenter", () => {
|
||||
image2.style.transform = "scale(2.2)";
|
||||
});
|
||||
|
||||
image2.addEventListener("mouseleave", () => {
|
||||
image2.style.transform = "scale(1)";
|
||||
});
|
||||
|
||||
const image3 = document.querySelector(".picture2");
|
||||
|
||||
image3.addEventListener("mouseenter", () => {
|
||||
image3.style.transform = "scale(2.2)";
|
||||
});
|
||||
|
||||
image3.addEventListener("mouseleave", () => {
|
||||
image3.style.transform = "scale(1)";
|
||||
});
|
||||
|
||||
// Tlačítko go to top
|
||||
// Zobrazení tlačítka od rolovaní části stránky (víc logické než až na konci)
|
||||
window.onscroll = function () {
|
||||
scrollFunction();
|
||||
};
|
||||
|
||||
function scrollFunction() {
|
||||
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
|
||||
document.getElementById("scrollToTopBtn").style.display = "block";
|
||||
} else {
|
||||
document.getElementById("scrollToTopBtn").style.display = "none";
|
||||
}
|
||||
}
|
||||
|
||||
// Posunout nahoru, když uživatel klikne na tlačítko
|
||||
function scrollToTop() {
|
||||
document.body.scrollTop = 0; // Pro Safari
|
||||
document.documentElement.scrollTop = 0; // Pro ostatní prohlížeče
|
||||
}
|
3475
en/search/lunr.js
Normal file
3475
en/search/lunr.js
Normal file
File diff suppressed because it is too large
Load Diff
109
en/search/main.js
Normal file
109
en/search/main.js
Normal file
@ -0,0 +1,109 @@
|
||||
function getSearchTermFromLocation() {
|
||||
var sPageURL = window.location.search.substring(1);
|
||||
var sURLVariables = sPageURL.split('&');
|
||||
for (var i = 0; i < sURLVariables.length; i++) {
|
||||
var sParameterName = sURLVariables[i].split('=');
|
||||
if (sParameterName[0] == 'q') {
|
||||
return decodeURIComponent(sParameterName[1].replace(/\+/g, '%20'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function joinUrl (base, path) {
|
||||
if (path.substring(0, 1) === "/") {
|
||||
// path starts with `/`. Thus it is absolute.
|
||||
return path;
|
||||
}
|
||||
if (base.substring(base.length-1) === "/") {
|
||||
// base ends with `/`
|
||||
return base + path;
|
||||
}
|
||||
return base + "/" + path;
|
||||
}
|
||||
|
||||
function escapeHtml (value) {
|
||||
return value.replace(/&/g, '&')
|
||||
.replace(/"/g, '"')
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>');
|
||||
}
|
||||
|
||||
function formatResult (location, title, summary) {
|
||||
return '<article><h3><a href="' + joinUrl(base_url, location) + '">'+ escapeHtml(title) + '</a></h3><p>' + escapeHtml(summary) +'</p></article>';
|
||||
}
|
||||
|
||||
function displayResults (results) {
|
||||
var search_results = document.getElementById("mkdocs-search-results");
|
||||
while (search_results.firstChild) {
|
||||
search_results.removeChild(search_results.firstChild);
|
||||
}
|
||||
if (results.length > 0){
|
||||
for (var i=0; i < results.length; i++){
|
||||
var result = results[i];
|
||||
var html = formatResult(result.location, result.title, result.summary);
|
||||
search_results.insertAdjacentHTML('beforeend', html);
|
||||
}
|
||||
} else {
|
||||
var noResultsText = search_results.getAttribute('data-no-results-text');
|
||||
if (!noResultsText) {
|
||||
noResultsText = "No results found";
|
||||
}
|
||||
search_results.insertAdjacentHTML('beforeend', '<p>' + noResultsText + '</p>');
|
||||
}
|
||||
}
|
||||
|
||||
function doSearch () {
|
||||
var query = document.getElementById('mkdocs-search-query').value;
|
||||
if (query.length > min_search_length) {
|
||||
if (!window.Worker) {
|
||||
displayResults(search(query));
|
||||
} else {
|
||||
searchWorker.postMessage({query: query});
|
||||
}
|
||||
} else {
|
||||
// Clear results for short queries
|
||||
displayResults([]);
|
||||
}
|
||||
}
|
||||
|
||||
function initSearch () {
|
||||
var search_input = document.getElementById('mkdocs-search-query');
|
||||
if (search_input) {
|
||||
search_input.addEventListener("keyup", doSearch);
|
||||
}
|
||||
var term = getSearchTermFromLocation();
|
||||
if (term) {
|
||||
search_input.value = term;
|
||||
doSearch();
|
||||
}
|
||||
}
|
||||
|
||||
function onWorkerMessage (e) {
|
||||
if (e.data.allowSearch) {
|
||||
initSearch();
|
||||
} else if (e.data.results) {
|
||||
var results = e.data.results;
|
||||
displayResults(results);
|
||||
} else if (e.data.config) {
|
||||
min_search_length = e.data.config.min_search_length-1;
|
||||
}
|
||||
}
|
||||
|
||||
if (!window.Worker) {
|
||||
console.log('Web Worker API not supported');
|
||||
// load index in main thread
|
||||
$.getScript(joinUrl(base_url, "search/worker.js")).done(function () {
|
||||
console.log('Loaded worker');
|
||||
init();
|
||||
window.postMessage = function (msg) {
|
||||
onWorkerMessage({data: msg});
|
||||
};
|
||||
}).fail(function (jqxhr, settings, exception) {
|
||||
console.error('Could not load worker.js');
|
||||
});
|
||||
} else {
|
||||
// Wrap search in a web worker
|
||||
var searchWorker = new Worker(joinUrl(base_url, "search/worker.js"));
|
||||
searchWorker.postMessage({init: true});
|
||||
searchWorker.onmessage = onWorkerMessage;
|
||||
}
|
1
en/search/search_index.json
Normal file
1
en/search/search_index.json
Normal file
@ -0,0 +1 @@
|
||||
{"config":{"indexing":"full","lang":["en"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"","text":"AJ VERZE For full documentation visit mkdocs.org . Commands mkdocs new [dir-name] - Create a new project. mkdocs serve - Start the live-reloading docs server. mkdocs build - Build the documentation site. mkdocs -h - Print help message and exit. Project layout mkdocs.yml # The configuration file. docs/ index.md # The documentation homepage. ... # Other markdown pages, images and other files.","title":"AJ VERZE"},{"location":"#aj-verze","text":"For full documentation visit mkdocs.org .","title":"AJ VERZE"},{"location":"#commands","text":"mkdocs new [dir-name] - Create a new project. mkdocs serve - Start the live-reloading docs server. mkdocs build - Build the documentation site. mkdocs -h - Print help message and exit.","title":"Commands"},{"location":"#project-layout","text":"mkdocs.yml # The configuration file. docs/ index.md # The documentation homepage. ... # Other markdown pages, images and other files.","title":"Project layout"}]}
|
133
en/search/worker.js
Normal file
133
en/search/worker.js
Normal file
@ -0,0 +1,133 @@
|
||||
var base_path = 'function' === typeof importScripts ? '.' : '/search/';
|
||||
var allowSearch = false;
|
||||
var index;
|
||||
var documents = {};
|
||||
var lang = ['en'];
|
||||
var data;
|
||||
|
||||
function getScript(script, callback) {
|
||||
console.log('Loading script: ' + script);
|
||||
$.getScript(base_path + script).done(function () {
|
||||
callback();
|
||||
}).fail(function (jqxhr, settings, exception) {
|
||||
console.log('Error: ' + exception);
|
||||
});
|
||||
}
|
||||
|
||||
function getScriptsInOrder(scripts, callback) {
|
||||
if (scripts.length === 0) {
|
||||
callback();
|
||||
return;
|
||||
}
|
||||
getScript(scripts[0], function() {
|
||||
getScriptsInOrder(scripts.slice(1), callback);
|
||||
});
|
||||
}
|
||||
|
||||
function loadScripts(urls, callback) {
|
||||
if( 'function' === typeof importScripts ) {
|
||||
importScripts.apply(null, urls);
|
||||
callback();
|
||||
} else {
|
||||
getScriptsInOrder(urls, callback);
|
||||
}
|
||||
}
|
||||
|
||||
function onJSONLoaded () {
|
||||
data = JSON.parse(this.responseText);
|
||||
var scriptsToLoad = ['lunr.js'];
|
||||
if (data.config && data.config.lang && data.config.lang.length) {
|
||||
lang = data.config.lang;
|
||||
}
|
||||
if (lang.length > 1 || lang[0] !== "en") {
|
||||
scriptsToLoad.push('lunr.stemmer.support.js');
|
||||
if (lang.length > 1) {
|
||||
scriptsToLoad.push('lunr.multi.js');
|
||||
}
|
||||
if (lang.includes("ja") || lang.includes("jp")) {
|
||||
scriptsToLoad.push('tinyseg.js');
|
||||
}
|
||||
for (var i=0; i < lang.length; i++) {
|
||||
if (lang[i] != 'en') {
|
||||
scriptsToLoad.push(['lunr', lang[i], 'js'].join('.'));
|
||||
}
|
||||
}
|
||||
}
|
||||
loadScripts(scriptsToLoad, onScriptsLoaded);
|
||||
}
|
||||
|
||||
function onScriptsLoaded () {
|
||||
console.log('All search scripts loaded, building Lunr index...');
|
||||
if (data.config && data.config.separator && data.config.separator.length) {
|
||||
lunr.tokenizer.separator = new RegExp(data.config.separator);
|
||||
}
|
||||
|
||||
if (data.index) {
|
||||
index = lunr.Index.load(data.index);
|
||||
data.docs.forEach(function (doc) {
|
||||
documents[doc.location] = doc;
|
||||
});
|
||||
console.log('Lunr pre-built index loaded, search ready');
|
||||
} else {
|
||||
index = lunr(function () {
|
||||
if (lang.length === 1 && lang[0] !== "en" && lunr[lang[0]]) {
|
||||
this.use(lunr[lang[0]]);
|
||||
} else if (lang.length > 1) {
|
||||
this.use(lunr.multiLanguage.apply(null, lang)); // spread operator not supported in all browsers: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator#Browser_compatibility
|
||||
}
|
||||
this.field('title');
|
||||
this.field('text');
|
||||
this.ref('location');
|
||||
|
||||
for (var i=0; i < data.docs.length; i++) {
|
||||
var doc = data.docs[i];
|
||||
this.add(doc);
|
||||
documents[doc.location] = doc;
|
||||
}
|
||||
});
|
||||
console.log('Lunr index built, search ready');
|
||||
}
|
||||
allowSearch = true;
|
||||
postMessage({config: data.config});
|
||||
postMessage({allowSearch: allowSearch});
|
||||
}
|
||||
|
||||
function init () {
|
||||
var oReq = new XMLHttpRequest();
|
||||
oReq.addEventListener("load", onJSONLoaded);
|
||||
var index_path = base_path + '/search_index.json';
|
||||
if( 'function' === typeof importScripts ){
|
||||
index_path = 'search_index.json';
|
||||
}
|
||||
oReq.open("GET", index_path);
|
||||
oReq.send();
|
||||
}
|
||||
|
||||
function search (query) {
|
||||
if (!allowSearch) {
|
||||
console.error('Assets for search still loading');
|
||||
return;
|
||||
}
|
||||
|
||||
var resultDocuments = [];
|
||||
var results = index.search(query);
|
||||
for (var i=0; i < results.length; i++){
|
||||
var result = results[i];
|
||||
doc = documents[result.ref];
|
||||
doc.summary = doc.text.substring(0, 200);
|
||||
resultDocuments.push(doc);
|
||||
}
|
||||
return resultDocuments;
|
||||
}
|
||||
|
||||
if( 'function' === typeof importScripts ) {
|
||||
onmessage = function (e) {
|
||||
if (e.data.init) {
|
||||
init();
|
||||
} else if (e.data.query) {
|
||||
postMessage({ results: search(e.data.query) });
|
||||
} else {
|
||||
console.error("Worker - Unrecognized message: " + e);
|
||||
}
|
||||
};
|
||||
}
|
3
en/sitemap.xml
Normal file
3
en/sitemap.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
</urlset>
|
BIN
en/sitemap.xml.gz
Normal file
BIN
en/sitemap.xml.gz
Normal file
Binary file not shown.
239
en/style.css
239
en/style.css
@ -1,239 +0,0 @@
|
||||
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
|
||||
@import url("colors.css");
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body {
|
||||
max-width: 1000px;
|
||||
margin: 0 auto;
|
||||
font-family: "Ubuntu", sans-serif;
|
||||
background-color: var(--dracula-body-bg);
|
||||
color: var(--dracula-color);
|
||||
}
|
||||
|
||||
/*Header */
|
||||
|
||||
h1 {
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
header {
|
||||
margin-top: 25px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 70px;
|
||||
flex-direction: row;
|
||||
/*position: fixed;*/
|
||||
background-color: var(--dracula-header-bg);
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--dracula-links-color);
|
||||
}
|
||||
.title {
|
||||
padding-top: 25px;
|
||||
}
|
||||
|
||||
.title {
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
/* navigation */
|
||||
nav {
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
nav li {
|
||||
display: inline-block;
|
||||
list-style-type: none;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
nav li a {
|
||||
text-decoration: none;
|
||||
color: var(--dracula-nav-links-color);
|
||||
}
|
||||
|
||||
.navigation {
|
||||
background-color: var(--dracula-nav-bg);
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: var(--dracula-h1-color);
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: var(--dracula-h2-color);
|
||||
}
|
||||
|
||||
.fa-solid {
|
||||
background-color: var(--dracula-solid-bg);
|
||||
color: var(--dracula-solid-color);
|
||||
}
|
||||
/* navigation icons */
|
||||
|
||||
.menu-icon {
|
||||
display: none;
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
/*Header small display*/
|
||||
@media (max-width: 600px) {
|
||||
body {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
header {
|
||||
position: relative;
|
||||
}
|
||||
header nav {
|
||||
position: absolute;
|
||||
top: 70px;
|
||||
width: 100%;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu-icon {
|
||||
display: block;
|
||||
font-size: 23px;
|
||||
}
|
||||
|
||||
header nav li {
|
||||
display: block !important;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Sekce */
|
||||
|
||||
.content {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#welcome {
|
||||
padding-top: 50px;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
#install {
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
#node {
|
||||
padding-top: 50px;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
#apollo {
|
||||
padding-top: 50px;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
#coc {
|
||||
padding-top: 50px;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
#contact {
|
||||
padding-top: 50px;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
#plugin {
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
#other {
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
|
||||
/*Code box*/
|
||||
.code-box {
|
||||
background-color: #353535;
|
||||
padding: 10px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 5px;
|
||||
font-family: monospace;
|
||||
max-width: 500px;
|
||||
margin: 0 auto;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
/*Picture settings*/
|
||||
|
||||
.sat {
|
||||
width: 175px;
|
||||
height: 175px;
|
||||
}
|
||||
|
||||
.photo {
|
||||
text-align: center;
|
||||
padding-top: 50px;
|
||||
}
|
||||
.photo img {
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
margin: 10px;
|
||||
transition: all 0.5s linear;
|
||||
}
|
||||
/*footer pevná pozice*/
|
||||
|
||||
footer {
|
||||
bottom: 0;
|
||||
margin-bottom: 10px;
|
||||
margin-left: 25px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
footer a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#scrollToTopBtn {
|
||||
display: none;
|
||||
position: fixed;
|
||||
bottom: 20px;
|
||||
right: 20px;
|
||||
/*butoon přes obsah*/
|
||||
z-index: 99;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
padding: 15px;
|
||||
border-radius: 50%;
|
||||
background-color: transparent;
|
||||
color: var(--dracula-scrollToTopBtn-color);
|
||||
}
|
||||
|
||||
/* Styl pro ikonu */
|
||||
#scrollToTopBtn i {
|
||||
font-size: 34px;
|
||||
}
|
||||
|
||||
|
||||
/*Instalace*/
|
||||
|
||||
.list ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.list {
|
||||
padding-top: 50px;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
#plug-vim {
|
||||
padding-top: 50px;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
.h2-install {
|
||||
padding-bottom: 15px;
|
||||
}
|
@ -1,288 +0,0 @@
|
||||
<!doctype html>
|
||||
<html lang="cs">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta
|
||||
name="description"
|
||||
content="ApolloNvim svoboda v programování...."
|
||||
/>
|
||||
<meta name="keywords" content="ApolloNvim Distro Návody" />
|
||||
<meta name="author" content="Kankys" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0"
|
||||
/>
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<link rel="shortcut icon" href="../img/apollonvim.jpg" />
|
||||
<!--nav bar-->
|
||||
<script
|
||||
src="https://kit.fontawesome.com/0a43c6cd1f.js"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<!--icons dark, go to up-->
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
|
||||
/>
|
||||
<!--ubuntu fonts-->
|
||||
<style>
|
||||
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
|
||||
</style>
|
||||
<title>ApolloNvim Návody</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<h1 class="title"><a href="index.html">🚀ApolloNvim</a></h1>
|
||||
<!-- Terminal - navigation -->
|
||||
<nav class="navigation">
|
||||
<ul>
|
||||
<li><a href="index.html">Home</a></li>
|
||||
<li>
|
||||
<a href="install.html"
|
||||
>Installation</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="plugins.html"
|
||||
>Plugins</a
|
||||
>
|
||||
</li>
|
||||
<li><a href="/cz/index.html">Česky</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="menu-icon">
|
||||
<!-- Ikona hamburger -->
|
||||
<i class="fa-solid fa-bars"></i>
|
||||
<!-- Ikona cross -->
|
||||
<!-- <i class="fa-solid fa-xmark"></i> -->
|
||||
</div>
|
||||
</header>
|
||||
<hr />
|
||||
<!--Začátek sekcí - co h2 sekce + fotogalerie-->
|
||||
<section class="content" id="welcome">
|
||||
<p>
|
||||
<strong
|
||||
>Always check before installing on
|
||||
Github for the source. This will prevent
|
||||
potential problems! If you're not
|
||||
you're not sure of the procedure or something is not clear,
|
||||
you'd better check the
|
||||
the documentation, write or find the forums
|
||||
the answer.</strong
|
||||
>
|
||||
</p>
|
||||
<section class="list">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="#plug-vim"
|
||||
>How to install plug.vim into Neovim</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#codeium"
|
||||
>How to install Codeium on Neovim</a
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section id="plug-vim" class="plug-vim">
|
||||
<h2 class="h2-install">
|
||||
How to install plug.vim into Neovim
|
||||
</h2>
|
||||
|
||||
<p>
|
||||
But first, back up your current Neovim settings!!!
|
||||
</p>
|
||||
<p>Linux & Mac:</p>
|
||||
<div class="code-box">
|
||||
<p>/home/user/.config/nvim/init.vim</p>
|
||||
</div>
|
||||
<p>Windows:</p>
|
||||
<div class="code-box">
|
||||
<p>~\AppData\Local\nvim</p>
|
||||
</div>
|
||||
<p>
|
||||
Go to this
|
||||
<a
|
||||
href="https://github.com/junegunn/vim-plug"
|
||||
target="_blank"
|
||||
>page</a
|
||||
> under Installation, find your operating system and copy the link below it into your terminal and use Enter to install vim.plug.
|
||||
</p>
|
||||
<p>On Linux and macOS it will be this command:</p>
|
||||
<div class="code-box">
|
||||
<p>
|
||||
sh -c 'curl -fLo
|
||||
"${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim
|
||||
--create-dirs \
|
||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||
</p>
|
||||
</div>
|
||||
<p>
|
||||
For Windows, the command can be found on the linked site above.
|
||||
</p>
|
||||
<!--<div class="code-box">-->
|
||||
<!--<p>-->
|
||||
<!--<LeftMouse>iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`-->
|
||||
<!--ni "$(@($env:XDG_DATA_HOME, $env:LOCALAPPDATA)[$null -eq-->
|
||||
<!--$env:XDG_DATA_HOME])/nvim-data/site/autoload/plug.vim" -Force-->
|
||||
<!--</p>-->
|
||||
<!--</div>-->
|
||||
<p>
|
||||
Next, open the init.vim file and if you don't have it, create it here:
|
||||
</p>
|
||||
<p>Linux & Mac:</p>
|
||||
<div class="code-box">
|
||||
<p>/home/user/.config/nvim/init.vim</p>
|
||||
</div>
|
||||
<p>Windows:</p>
|
||||
<div class="code-box">
|
||||
<p>~\AppData\Local\nvim</p>
|
||||
</div>
|
||||
<p>
|
||||
And into it we insert and then save this code:
|
||||
</p>
|
||||
<div class="code-box">
|
||||
<p>
|
||||
call plug#begin(has('nvim') ?
|
||||
stdpath('data') . '/plugged' :
|
||||
'~/.vim/plugged')
|
||||
</p>
|
||||
<br />
|
||||
<p>
|
||||
# I'm going to be adding plugins in the future. Starting a PLug and
|
||||
download address
|
||||
</p>
|
||||
<br />
|
||||
<p>call plug#end()</p>
|
||||
</div>
|
||||
<p>
|
||||
And use the Nvim command in the terminal to start Neovim. If you get an error message just click it.
|
||||
</p>
|
||||
<p>
|
||||
Use <code>Ctrl + :</code> to get to the command prompt and type <code>PlugInstall</code>
|
||||
</p>
|
||||
<p>
|
||||
A restartujeme Neovim. Příkazem
|
||||
<code>Ctrl + :</code> do príkazového
|
||||
řádku napíšete <code>q</code> a
|
||||
restartujeme Neovim.
|
||||
</p>
|
||||
<p>
|
||||
Takto pokaždé když si přidáte do
|
||||
init.vim pluginy, příkazem
|
||||
<code>PlugInstall</code> je
|
||||
nainstalujete a restartujeme Neovim.
|
||||
</p>
|
||||
<p>
|
||||
Zdroj na
|
||||
<a
|
||||
href="https://github.com/junegunn/vim-plug"
|
||||
target="_blank"
|
||||
>GitHub</a
|
||||
>
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section id="codeium" class="codeium">
|
||||
ï
|
||||
<h2 class="h2-install">
|
||||
How to install Codeium on Neovim
|
||||
</h2>
|
||||
<p>
|
||||
<a
|
||||
href="https: //codeium.com"
|
||||
target="_blank"
|
||||
>Codeium</a
|
||||
>
|
||||
je alternativou k
|
||||
<a
|
||||
href="https://github.com/features/copilothttps://github.com/features/copilot"
|
||||
target="_blank"
|
||||
>GitHub Copilot</a
|
||||
>
|
||||
s tím, že pro jednotlivce je zdarma.
|
||||
Codeium hodnotím velmi pozitivně a
|
||||
Copilotu se vyrovná.
|
||||
</p>
|
||||
<p>
|
||||
Instalace pomocí plug.vim je jednoduchá,
|
||||
stačí pouze upravit svůj
|
||||
<code>init.vim</code>
|
||||
</p>
|
||||
<p>Vložíme do něj:</p>
|
||||
<div class="code-box">
|
||||
<p>
|
||||
" Free AI codium <br />
|
||||
Plug 'Exafunction/codeium.vim',
|
||||
{ 'branch': 'main' }
|
||||
</p>
|
||||
</div>
|
||||
<p>
|
||||
Výsledný <code>init.vim</code> bude
|
||||
vypadat takto:
|
||||
</p>
|
||||
<div class="code-box">
|
||||
<p>
|
||||
call plug#begin(has('nvim') ?
|
||||
stdpath('data') . '/plugged' :
|
||||
'~/.vim/plugged') <br />
|
||||
|
||||
" Free AI codium <br />
|
||||
Plug 'Exafunction/codeium.vim',
|
||||
{ 'branch': 'main' } <br />
|
||||
call plug#end()
|
||||
</p>
|
||||
</div>
|
||||
<p>
|
||||
A restartujeme Neovim. Příkazem
|
||||
<code>Ctrl + :</code> do príkazového
|
||||
řádku napíšete <code>q</code> a
|
||||
restartujeme Neovim.
|
||||
</p>
|
||||
<p>
|
||||
Po restartu provedeme
|
||||
<code>PlugInstall</code> a ještě jednou
|
||||
restartujeme Neovim.
|
||||
</p>
|
||||
<p>
|
||||
Poslední krok bude konfigurace Codeium,
|
||||
příkazem <code>CodeiumEnable</code> do
|
||||
command line.
|
||||
</p>
|
||||
<p>
|
||||
Codium vás vyzve k propojení API se
|
||||
serverem Codium.
|
||||
</p>
|
||||
<p>A vše by Vám mělo fungovat.</p>
|
||||
<p>
|
||||
Zdroj na
|
||||
<a
|
||||
href="https://github.com/Exafunction/codeium.vim"
|
||||
target="_blank"
|
||||
>GitHub</a
|
||||
>
|
||||
</p>
|
||||
</section>
|
||||
<button
|
||||
onclick="scrollToTop()"
|
||||
id="scrollToTopBtn"
|
||||
title="Go to top"
|
||||
>
|
||||
<i class="fas fa-arrow-up"></i>
|
||||
</button>
|
||||
|
||||
<footer>
|
||||
Copyright ©
|
||||
<a
|
||||
href="https://git.archoslinux.cz/kankys"
|
||||
target="_blank"
|
||||
>Lukáš Kaňka</a
|
||||
>
|
||||
2024 - 2025
|
||||
</footer>
|
||||
</section>
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
BIN
en/webfonts/fa-brands-400.ttf
Normal file
BIN
en/webfonts/fa-brands-400.ttf
Normal file
Binary file not shown.
BIN
en/webfonts/fa-brands-400.woff2
Normal file
BIN
en/webfonts/fa-brands-400.woff2
Normal file
Binary file not shown.
BIN
en/webfonts/fa-regular-400.ttf
Normal file
BIN
en/webfonts/fa-regular-400.ttf
Normal file
Binary file not shown.
BIN
en/webfonts/fa-regular-400.woff2
Normal file
BIN
en/webfonts/fa-regular-400.woff2
Normal file
Binary file not shown.
BIN
en/webfonts/fa-solid-900.ttf
Normal file
BIN
en/webfonts/fa-solid-900.ttf
Normal file
Binary file not shown.
BIN
en/webfonts/fa-solid-900.woff2
Normal file
BIN
en/webfonts/fa-solid-900.woff2
Normal file
Binary file not shown.
BIN
en/webfonts/fa-v4compatibility.ttf
Normal file
BIN
en/webfonts/fa-v4compatibility.ttf
Normal file
Binary file not shown.
BIN
en/webfonts/fa-v4compatibility.woff2
Normal file
BIN
en/webfonts/fa-v4compatibility.woff2
Normal file
Binary file not shown.
Reference in New Issue
Block a user