mirror of
https://github.com/Linux4Yourself/book.git
synced 2025-01-23 22:42:26 +08:00
All packages
This commit is contained in:
parent
199aaee99f
commit
4762f75f62
@ -2,14 +2,9 @@ window.$docsify = {
|
||||
name: 'Linux для себя',
|
||||
repo: 'https://github.com/Linux4Yourself/Linux4Yourself.Book',
|
||||
coverpage: false,
|
||||
// load from _navbar.md
|
||||
loadNavbar: true,
|
||||
// load from nav.md
|
||||
loadNavbar: 'nav.md',
|
||||
// load from _sidebar.md
|
||||
loadSidebar: true,
|
||||
auto2top: true,
|
||||
// Change to /home.md
|
||||
homepage: 'index.md',
|
||||
autoHeader: true,
|
||||
executeScript: true,
|
||||
|
@ -31,6 +31,7 @@
|
||||
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
|
||||
<script src="//polyfill.io/v3/polyfill.min.js?features=String.prototype.normalize"></script>
|
||||
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
|
||||
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
0
docs/prepare/_navbar.md
Normal file
0
docs/prepare/_navbar.md
Normal file
4
docs/prepare/_sidebar.md
Normal file
4
docs/prepare/_sidebar.md
Normal file
@ -0,0 +1,4 @@
|
||||
- [Подготовительные работы](prepare/prepare)
|
||||
|
||||
- [Все пакеты](prepare/packages/all-packages)
|
||||
|
0
docs/prepare/packages/_navbar.md
Normal file
0
docs/prepare/packages/_navbar.md
Normal file
4
docs/prepare/packages/_sidebar.md
Normal file
4
docs/prepare/packages/_sidebar.md
Normal file
@ -0,0 +1,4 @@
|
||||
- [Подготовительные работы](prepare/prepare)
|
||||
|
||||
- [Все пакеты](prepare/packages/all-packages)
|
||||
|
25
docs/prepare/packages/all-packages.md
Normal file
25
docs/prepare/packages/all-packages.md
Normal file
@ -0,0 +1,25 @@
|
||||
# Все пакеты
|
||||
|
||||
<div
|
||||
v-for="pkg in packages"
|
||||
class="pkg"
|
||||
>
|
||||
<h2>{{ pkg.name }}</h2>
|
||||
<span>Версия: {{ pkg.version }}</span>
|
||||
<p>{{ pkg.description }}</p>
|
||||
<a :href="pkg.url">{{ pkg.url }}</a>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// TODO: WIP.
|
||||
new Vue({
|
||||
el: '#main',
|
||||
data: { packages: [] },
|
||||
mounted: function () {
|
||||
axios
|
||||
.get('https://raw.githubusercontent.com/Linux4Yourself/Linux4Yourself.Book.Packages/feature/core-packages/src/core-packages.json')
|
||||
.then(response => (this.packages = response.data));
|
||||
},
|
||||
|
||||
})
|
||||
</script>
|
1
docs/prepare/prepare.md
Normal file
1
docs/prepare/prepare.md
Normal file
@ -0,0 +1 @@
|
||||
# Подготовительные работы
|
@ -2,3 +2,5 @@
|
||||
|
||||
- [Предисловие](prologue/foreword.md)
|
||||
- [Cover page](cover.md)
|
||||
|
||||
- [Подготовительные работы](prepare/prepare.md)
|
||||
|
Loading…
Reference in New Issue
Block a user