on master help sign in
changed layout for /using
commitf540d592a8b0a68379a6956320967f9ecbf5568f authorDavid Kerschner <dkerschner@hcoop.net> dateThu 11 Mar 2021, 15:32 (6 years ago) parent2c62603
20 files changed+58−33
content/docs+1−1 content/faq.md+1−1 content/using/develop.md+1−1 content/using/id/_index.md+6 content/using/id/bridge-troubleshooting.md+1−1 content/using/id/using-bridge.md+1−1 content/using/install.md+1−1 content/using/integrating-api.md+1−1 content/using/os/_index.md+6 content/using/os/filesystem.md+2−2 content/using/os/using-your-ship.md → content/using/os/getting-started.md+19−8 content/using/running/hosting.md → content/using/os/hosting.md content/using/os/messaging.md+1−1 content/using/os/s3.md+1−1 content/using/os/shell.md+1−1 content/using/os/stars-and-galaxies.md+2−2 content/using/planet.md+2−2 content/using/running/_index.md−7 templates/list.html+1 templates/partials/navigation-docs.html+10−2
content/docs+1−1

Submodule changed.

content/faq.md+1−1
@@ -249,7 +249,7 @@ Check out our guides [here](@/using/planet.md).
249249
250250### How do I use Urbit OS? {#use-urbit-os}
251251
252−The [Using](@/using/os/using-your-ship.md) section of the documentation will help you out.
252+The [Using](@/using/os/getting-started.md) section of the documentation will help you out.
253253
254254### How do over-the-air updates work? {#over-the-air-updates}
255255
content/using/develop.md+1−1
@@ -2,7 +2,7 @@
22title = "Developer's Guide"
33description = "How to get started developing on Urbit."
44weight = 3
5−template = "page_indiced.html"
5+template = "doc.html"
66aliases = ["/docs/using/creating-a-development-ship/", "/docs/getting-started/contributing"]
77+++
88
content/using/id/_index.mdnew file+6
@@ -0,0 +1,6 @@
1++++
2+title = "ID"
3+template = "sections/docs/chapters.html"
4+sort_by = "weight"
5+description = "How to interact with Urbit ID."
6++++
content/using/id/bridge-troubleshooting.md+1−1
@@ -1,6 +1,6 @@
11+++
22title = "Bridge Troubleshooting"
3−template = "page_indiced.html"
3+template = "doc.html"
44description = "Troubleshooting Bridge if you are running into errors"
55weight = 5
66+++
content/using/id/using-bridge.md+1−1
@@ -1,6 +1,6 @@
11+++
22title = "Using Bridge"
3−template = "page_indiced.html"
3+template = "doc.html"
44description = "How to use Bridge to interact with Azimuth and manage your Urbit ID."
55weight = 1
66aliases = ["/docs/getting-started/using-bridge/"]
content/using/install.md+1−1
@@ -2,7 +2,7 @@
22title = "Getting Started"
33weight = 1
44description = "How to install Urbit."
5−template = "page_indiced.html"
5+template = "doc.html"
66aliases = ["/docs/getting-started/"]
77+++
88
content/using/integrating-api.md+1−1
@@ -2,7 +2,7 @@
22title = "Integrating with Urbit for Developers"
33description = "How to use Urbit's API."
44weight = 4
5−template = "page_indiced.html"
5+template = "doc.html"
66+++
77
88This guide is aimed at developers who have a working knowledge of HTTP grammar (`PUT`, `GET`), and should not require any special knowledge of Urbit's internals. To learn more about a specific application within Urbit, please search for that with the docs once you have finished this guide.
content/using/os/_index.mdnew file+6
@@ -0,0 +1,6 @@
1++++
2+title = "OS"
3+sort_by = "weight"
4+description = "How to use Urbit OS"
5+template = "sections/docs/chapters.html"
6++++
content/using/os/filesystem.md+2−2
@@ -1,7 +1,7 @@
11+++
22title = "Filesystem"
3−template = "page_indiced.html"
4−weight = 2
3+template = "doc.html"
4+weight = 3
55+++
66
77## Filesystem {#filesystem}
content/using/os/using-your-ship.md → content/using/os/getting-started.mdrenamed+19−8
@@ -1,8 +1,8 @@
11+++
2−title = "Using Your Ship"
2+title = "Getting Started"
33description = "How to operate your ship, including using your ship's filesystem and messaging applications, starting a moon, or requesting a DNS proxy."
4−template = "page_indiced.html"
5−weight = 2
4+template = "doc.html"
5+weight = 1
66aliases = ["docs/using/messaging/", "docs/using/admin/"]
77[extra]
88hidetitle = "true"
@@ -243,6 +243,20 @@ The request will be picked up shortly, and the `ship.arvo.network` DNS record wi
243243
244244Great! You're set up now. Try accessing your `ship.arvo.network` in your browser to use Landscape; we recommend Chrome or Brave.
245245
246+### Configuring SSL
247+
248+To enable SSL on your ship, use the `acme` agent, which will request a certificate through Let's Encrypt. First, make sure the agent is started:
249+
250+```
251+> |start %acme
252+```
253+
254+Next, provide the path for the SSL certificate by poking the `acme` agent. The path format is `/tld/your_domain/your_subdomain`, so if your domain is `sampel-palnet.arvo.network`, you'd use it like so:
255+
256+```
257+> :acme &path /network/arvo/sampel-palnet
258+```
259+
246260### Galaxies
247261
248262Galaxies are already required to have separate DNS entry at galaxy.urbit.org. There's no automated process for getting that binding, so if you're a galaxy-holder, get in touch with us at support@urbit.org.
@@ -257,12 +271,9 @@ This will make HTTP-requests to self-check availability over `galaxy.$AMES-DOMAI
257271
258272Otherwise, `-dns-auto` works the same as `:dns|ip` does with stars and planets: if it's available or unavailable, Chat messages, and so on.
259273
260−### More information
261−
262−Configuring a ship's domain causes the `:acme` app to request an HTTPS certificate for that domain from LetsEncrypt. Note that LetsEncrypt also requires that the HTTP server be listening on port 80. If the certificate request fails, `:acme` will send a `:chat-cli` message with an explanation. Once the certificate is successfully retrieved, `:acme` will install it, causing the HTTP servers to restart. A secure server will be started on port 443 (the HTTPS default) if it's available. Otherwise, it will try 8443, and then increment to the next port until it can successfully bind one.
263−
264−The built-in logic for listening on port 80 is similar. Urbit tries to bind port 80; if it cannot, it tries 8080, then increments until it can bind a port. Port 80 is available to unprivileged process on recent version of macOS. Otherwise, the process needs to either be run as root, or be given special permission (CAP\_NET_BIND on Linux).
274+### Ports
265275
276+The built-in logic for listening on port 80 is to try to bind to port 80; if it cannot, it tries 8080, then increments until it can bind a port. Port 80 is available to unprivileged process on recent version of macOS. Otherwise, the process needs to either be run as root, or be given special permission (CAP\_NET_BIND on Linux).
266277
267278### Hoon
268279
content/using/running/hosting.md → content/using/os/hosting.mdrenamed

The content is the same.

content/using/os/messaging.md+1−1
@@ -1,6 +1,6 @@
11+++
22title = "Messaging"
3−template = "page_indiced.html"
3+template = "doc.html"
44weight = 2
55+++
66
content/using/os/s3.md+1−1
@@ -1,6 +1,6 @@
11+++
22title = "Configuring S3 Storage"
3−template = "page_indiced.html"
3+template = "doc.html"
44weight = 2
55+++
66
content/using/os/shell.md+1−1
@@ -1,6 +1,6 @@
11+++
22title = "Shell"
3−template = "page_indiced.html"
3+template = "doc.html"
44weight = 2
55+++
66
content/using/os/stars-and-galaxies.md+2−2
@@ -1,9 +1,9 @@
11+++
22title = "Star and Galaxy Operations"
33description = "Additional information and suggested ettiquette for Star and Galaxy owners."
4−weight = 3
4+weight = 4
55aliases = ["/docs/using/operating-a-star/"]
6−template = "page_indiced.html"
6+template = "doc.html"
77+++
88
99To boot your galaxy or star, follow our [installation instructions](@/using/install.md).
content/using/planet.md+2−2
@@ -2,7 +2,7 @@
22title = "Setting up Your Planet"
33weight = 1
44description = "Getting started with a permanent Urbit identity."
5−template = "page_indiced.html"
5+template = "doc.html"
66+++
77
88A planet is a permanent Urbit identity. Like all Urbit identities, they can never be taken away from you. Unlike comets which are free, planets are designed for use well into the future. If you're not yet familiar with the Urbit network, please follow the [Getting Started guide](@/using/install.md), which will explain the basics and walk you through using a free identity. This guide explains the next steps.
@@ -125,5 +125,5 @@ If for some reason your sponsor (in this case, `~dopzod`) is not responding, rea
125125Now that you’re up and running, take some time to deepen your understanding by checking out some of our other guides:
126126
127127- [Host your Ship in the Cloud](@/using/running/hosting.md): Follow this guide to set your ship up to run as a cloud server, accessible from anywhere.
128−- [Read the Operations Manual](@/using/os/using-your-ship.md): Become an expert pilot by learning to use your ship.
128+- [Read the Operations Manual](@/using/os/getting-started.md): Become an expert pilot by learning to use your ship.
129129- [Learn to Develop on Urbit](@/using/develop.md): Learn how to contribute to or develop on Urbit.
content/using/running/_index.mddeleted−7
@@ -1,7 +0,0 @@
1−+++
2−title = "Operations"
3−description = "Instructions on how to use Bridge, your Urbit ship, Stars and Galaxies, and more."
4−sort_by = "weight"
5−weight = 2
6−template = "list.html"
7−+++
templates/list.html+1
@@ -21,6 +21,7 @@
2121 {{ section.title }}
2222 </a>
2323 {% include "partials/navigation-search.html" %}
24+ <a href="using/install/">Install / Get Started -></a>
2425</nav>
2526<!-- content -->
2627<article class="mt4 mb4 c1-13 c4-12-lg measure-wide">
templates/partials/navigation-docs.html+10−2
@@ -1,6 +1,7 @@
11<!-- First nav is desktop-specific. Second nav is dropdown version for mobile. -->
22
33{% set sectionTitle = "urbit.org" %}
4+{% set directory = "docs" %}
45{% if page %}
56 {% if "docs" in page.components %}
67 {% set sectionTitle = "Docs" %}
@@ -11,6 +12,9 @@
1112 {% if "blog" in page.components %}
1213 {% set sectionTitle = "Blog" %}
1314 {% endif %}
15+ {% if "using" in page.components %}
16+ {% set directory = "using" %}
17+ {% endif %}
1418{% endif %}
1519
1620{% if section %}
@@ -23,6 +27,10 @@
2327 {% if "blog" in section.components %}
2428 {% set sectionTitle = "Blog" %}
2529 {% endif %}
30+ {% if "using" in section.components %}
31+ {% set directory = "using" %}
32+ {% endif %}
33+
2634{% endif %}
2735
2836{% block content %}
@@ -39,7 +47,7 @@
3947</button>
4048 <ul class="lh-copy">
4149 <li class="ml2 mt1"><a href="/using/install">Install -> </a></li>
42− <li class="ml2 mt1"><a href="/using/operations/">Operations Manual -></a></li>
50+ <li class="ml2 mt1"><a href="/using/os/">Operations Manual -></a></li>
4351 <li class="ml2 mt1 mb4"><a href="/using/develop/">Developer's Guide -></a></li>
4452 {% block menu %}
4553 {% if sectionTitle == "Docs" %}
@@ -53,7 +61,7 @@
5361 </a>
5462 </li>
5563 {% endif %}
56− {% set index = get_section(path="docs/_index.md") %}
64+ {% set index = get_section(path=directory ~ "/_index.md") %}
5765 {% for s in index.subsections %}
5866 {% set subsection = get_section(path=s) %}
5967 {% if subsection.extra.nav %}