رمز المصدر

مستودع شفرة المصدر لهذه الوثيقة.

بناء الوثائق

لإنشاء هذه الوثائق محليًا، قم بذلك.

قم بتثبيت التبعيات

قم بتثبيت الإضافات، مثلما هو الحال مع دبيان:

sudo apt update
sudo apt install python-is-python3 python3-pip python3-venv

تحميل الوثائق المصدر

git clone https://spacecruft.org/aviation/aircraft-moe
cd aircraft-moe/

إعداد بايثون

python -m venv venv
source venv/bin/activate
pip install -U pip poetry
poetry install
poetry update

المساعدة

للحصول على مساعدة في البناء، قم بتشغيل:

make help

سيُعرض هذا الدعم:

Please use 'make <target>' where <target> is one of
  clean                Remove all build files and directories (including translations)
  all                  Clean and make all targets
  gettext_build        Build localisation strings for translation
  update_locale        Update localisation
  update_locale_<lang> Update localisation for <lang>
  html                 Build the HTML documentation for all languages
  html_<lang>          Build HTML documentation for <lang>
  latex                Build the documentation using LaTeX for all languages
  latex_<lang>         Build the documentation using LaTeX for <lang>
  pdf                  Build the PDF documentation using LaTeX for all languages
  pdf_<lang>           Build the PDF documentation using LaTeX for <lang>
  ebook                Reduce size of PDF for eBook
  prepress             Reduce size of PDF for prepess
  index                Copy static docs/index.html to docs/_build/html/index.html
  translations         Translate from English

نظيف

قم بتنظيف نتاجات البناء على هذا النحو.

make clean

بناء وثائق HTML

لإنشاء وثائق HTML، قم بتشغيل:

make index
make html

سيكون HTML الناتج في docs/_build/html/ مع وجود ملف index.html في أعلى المستوى هنا: docs/index.html.

بناء ملف PDF من LaTex

لإنشاء مستند PDF من بنية LaTeX، قم أولاً بتثبيت التبعيات (وهو أكثر بكثير مما هو مطلوب):

sudo apt install texlive-full jabref

ثم قم بتجميع وثائق لاتايكس وبي دي اف:

make latex

سيكون ملف PDF الناتج هنا: docs/_build/latex/en/zenithstolch750superdutybuild.pdf.

بناء ملفات PDF

لإنشاء مستند PDF من LaTeX:

make pdf

سيكون ملف PDF الناتج هنا: docs/_build/latex/en/zenithstolch750superdutybuild.pdf.

كتاب إلكتروني

لتقليل حجم ملف PDF إلى 150 نقطة في البوصة لكتاب إلكتروني، قم بتشغيل:

make ebook

سيكون ملف PDF الناتج هنا: docs/_build/latex/en/zenithstolch750superdutybuild-ebook.pdf.

مرحلة ما قبل الطباعة

لتقليل حجم ملف PDF إلى 300 نقطة في البوصة للطباعة، قم بتشغيل:

make prepress

سيكون ملف PDF الناتج هنا: docs/_build/latex/en/zenithstolch750superdutybuild-prepress.pdf.

بناء كل شيء

لإنشاء كل شيء، بما في ذلك HTML و PDF.

make all

الوثائق

يمكن تحرير الببليوغرافيا باستخدام jabref، مثل:

jabref docs/_source/aircraft-moe.bib