From 1ddedddeeee147306c27338acb4f23242a9e329c Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Sun, 1 Sep 2024 07:57:35 -0600 Subject: [PATCH] formatting code.libre.is sections --- docs/_source/code-libre-is.rst | 13 +++++--- .../locale/en/LC_MESSAGES/dev-libre-is.po | 31 ++++--------------- 2 files changed, 14 insertions(+), 30 deletions(-) diff --git a/docs/_source/code-libre-is.rst b/docs/_source/code-libre-is.rst index f057a26..6ad234c 100644 --- a/docs/_source/code-libre-is.rst +++ b/docs/_source/code-libre-is.rst @@ -145,7 +145,6 @@ Test the new database setup thusly: mariadb -u forgejo -p forgejodb - Forgejo ======= @@ -216,6 +215,10 @@ Set up Apache to be a reverse proxy for Forgejo. sudo a2enmod proxy proxy_http sudo vim /etc/apache2/sites-available/code-libre-is.conf + + +.. code-block:: apache + ServerName code.libre.is ServerAdmin webmaster@localhost @@ -304,7 +307,7 @@ Configure Forgejo thusly: In the very top section, add: -.. code-block:: sh +.. code-block:: ini APP_NAME = Libre Code APP_SLOGAN = Code free or die @@ -315,7 +318,7 @@ Also set the SSH to use a different than the main openssh server. This way admin and Forgejo key/ports/etc are separate. This requires forwarding port 2222 to port 22 in the firewall. -.. code-block:: sh +.. code-block:: ini HTTP_ADDR = 127.0.0.1 SSH_PORT = 22 @@ -325,14 +328,14 @@ This requires forwarding port 2222 to port 22 in the firewall. Under [service] change this to true: -.. code-block:: sh +.. code-block:: ini DISABLE_REGISTRATION = true Add sections: -.. code-block:: sh +.. code-block:: ini [ui] SHOW_USER_EMAIL = false diff --git a/docs/_source/locale/en/LC_MESSAGES/dev-libre-is.po b/docs/_source/locale/en/LC_MESSAGES/dev-libre-is.po index 72bdfe1..8d1d11a 100644 --- a/docs/_source/locale/en/LC_MESSAGES/dev-libre-is.po +++ b/docs/_source/locale/en/LC_MESSAGES/dev-libre-is.po @@ -62,8 +62,8 @@ msgstr "" #: ../../../_source/dev-libre-is.rst:62 msgid "" -"At the bottom is a mini-HOWTO to build the site now that the repo already" -" exists." +"At the bottom is a mini-HOWTO to build the site now that the repo already " +"exists." msgstr "" #: ../../../_source/dev-libre-is.rst:75 @@ -80,8 +80,8 @@ msgstr "" #: ../../../_source/dev-libre-is.rst:298 msgid "" -"Copy over an appropriate license file to the repo, such as `LICENSE-" -"apache.txt`." +"Copy over an appropriate license file to the repo, such as `LICENSE-apache." +"txt`." msgstr "" #: ../../../_source/dev-libre-is.rst:302 @@ -134,8 +134,8 @@ msgstr "" #: ../../../_source/dev-libre-is.rst:508 msgid "" -"If spreadsheet is going to be used/imported, add to here " -"`docs/_source/_static/` these files:" +"If spreadsheet is going to be used/imported, add to here `docs/_source/" +"_static/` these files:" msgstr "" #: ../../../_source/dev-libre-is.rst:510 @@ -149,22 +149,3 @@ msgstr "" #: ../../../_source/dev-libre-is.rst:525 msgid "HOWTO build this site." msgstr "" - -#~ msgid "Makefile, etc." -#~ msgstr "" - -#~ msgid "Set up `docs/index.html`" -#~ msgstr "" - -#~ msgid "Set up docs/Makefile" -#~ msgstr "" - -#~ msgid "Create `docs/_source/index.rst`" -#~ msgstr "" - -#~ msgid "Create other `docs/_source/about.rst` or aother appropriate files." -#~ msgstr "" - -#~ msgid "Set up `docs/_source/conf.py`" -#~ msgstr "" -