mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-21 20:01:16 +00:00
* Adding docs to joinlemmy. Fixes #9 * Adding cargo to build.sh * Fix zola build.
This commit is contained in:
parent
8d97b5441f
commit
b33ee286ca
9 changed files with 23 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
public
|
||||
static/docs
|
||||
|
|
4
.gitmodules
vendored
Normal file
4
.gitmodules
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
[submodule "lemmy-docs"]
|
||||
path = lemmy-docs
|
||||
url = https://github.com/LemmyNet/lemmy-docs
|
||||
branch = main
|
2
build.sh
2
build.sh
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
./build_docs.sh
|
||||
zola build
|
||||
|
||||
sudo mkdir -p /var/www/joinlemmy
|
||||
sudo rm -rf /var/www/joinlemmy/public
|
||||
sudo mv public /var/www/joinlemmy/
|
||||
|
|
5
build_docs.sh
Executable file
5
build_docs.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
cargo install mdbook \
|
||||
--git https://github.com/Nutomic/mdBook.git \
|
||||
--branch localization \
|
||||
--rev 0982a82
|
||||
mdbook build lemmy-docs -d ../static/docs
|
2
deploy.sh
Executable file
2
deploy.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
ssh tyler@5.196.14.162 'cd ~/joinlemmy-site && git pull --recurse-submodules && ./build.sh'
|
1
lemmy-docs
Submodule
1
lemmy-docs
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit b9d1c108679f10720b849cae6e76c4185c778cc4
|
2
serve.sh
2
serve.sh
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
./build_docs.sh
|
||||
|
||||
zola serve --interface 0.0.0.0
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
<a href="/join">Join</a>
|
||||
<a href="/apps">Apps</a>
|
||||
<a href="/sponsors">Sponsors</a>
|
||||
<a href="https://lemmy.ml/docs/en/index.html">Docs</a>
|
||||
<a href="/docs/en/index.html">Docs</a>
|
||||
<a href="/coc" title="Code of Conduct">CoC</a>
|
||||
<a href="/contact">Contact</a>
|
||||
</div>
|
||||
|
@ -122,7 +122,7 @@
|
|||
<a href="/join">Join</a>
|
||||
<a href="/apps">Apps</a>
|
||||
<a href="/sponsors">Sponsors</a>
|
||||
<a href="https://lemmy.ml/docs/en/index.html">Docs</a>
|
||||
<a href="/docs/en/index.html">Docs</a>
|
||||
<a href="/coc" title="Code of Conduct">CoC</a>
|
||||
<a href="/contact">Contact</a>
|
||||
</div>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<a class="button primary" href="/join">Join a Server</a>
|
||||
</div>
|
||||
<div class="col-2-lg">
|
||||
<a class="button primary" href="https://lemmy.ml/docs/en/administration/administration.html">Run a Server</a>
|
||||
<a class="button primary" href="/docs/en/administration/administration.html">Run a Server</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -72,9 +72,9 @@
|
|||
<div class="container">
|
||||
<div class="text-center">
|
||||
<h2>Create your own discussion platform</h2>
|
||||
<p>With Lemmy, you can <a href="https://lemmy.ml/docs/en/administration/administration.html">easily host your own server</a>, and all these servers are <i>federated</i> (think email), and connected to the same universe, called the <a href="https://en.wikipedia.org/wiki/Fediverse">Fediverse</a>. For a link aggregator, this means that someone registered on one server can subscribe to communities elsewhere, and can have discussions with people on a completely different server.</p>
|
||||
<p>With Lemmy, you can <a href="/docs/en/administration/administration.html">easily host your own server</a>, and all these servers are <i>federated</i> (think email), and connected to the same universe, called the <a href="https://en.wikipedia.org/wiki/Fediverse">Fediverse</a>. For a link aggregator, this means that someone registered on one server can subscribe to communities elsewhere, and can have discussions with people on a completely different server.</p>
|
||||
<p>
|
||||
<a class="button primary" href="https://lemmy.ml/docs/en/administration/administration.html">Run a Server</a>
|
||||
<a class="button primary" href="/docs/en/administration/administration.html">Run a Server</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -108,7 +108,7 @@
|
|||
<div class="col-6">
|
||||
<h4 class="is-marginless">More Features</h4>
|
||||
<ul class="is-marginless">
|
||||
<li>Self hostable, easy to deploy, via <a href="https://lemmy.ml/docs/en/administration/install_docker.html">Docker</a>, or <a href="https://lemmy.ml/docs/en/administration/install_ansible.html">Ansible</a>.
|
||||
<li>Self hostable, easy to deploy, via <a href="/docs/en/administration/install_docker.html">Docker</a>, or <a href="/docs/en/administration/install_ansible.html">Ansible</a>.
|
||||
</li>
|
||||
<li>Clean, mobile-friendly interface.</li>
|
||||
<li>User avatar support.</li>
|
||||
|
|
Loading…
Reference in a new issue