소스 코드
이 문서의 소스 코드 저장소.
문서 빌드
이 문서를 로컬로 빌드하려면 다음과 같이 하세요.
의존성 설치
데비안과 같은 종속성을 설치합니다:
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 설치
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
.
LaTex PDF 빌드
LaTeX 빌드에서 PDF 문서를 빌드하려면 먼저 종속성을 설치해야 합니다(이것은 필요한 것보다 훨씬 더 많은 방법입니다):
sudo apt install texlive-full jabref
그런 다음 LaTeX 및 PDF 문서를 빌드합니다.
make latex
결과적으로 만들어진 PDF는 여기 있습니다: docs/_build/latex/en/zenithstolch750superdutybuild.pdf
.
PDF 만들기
LaTeX에서 PDF 문서를 만드는 방법:
make pdf
결과적으로 만들어진 PDF는 여기 있습니다: docs/_build/latex/en/zenithstolch750superdutybuild.pdf
.
전자책
PDF의 크기를 eBook용 150dpi로 크게 줄이려면 다음을 실행하십시오.
make ebook
결과적으로 만들어진 PDF는 여기 있습니다: docs/_build/latex/en/zenithstolch750superdutybuild-ebook.pdf
.
프리프레스
인쇄용 PDF의 크기를 300dpi로 줄이려면 다음을 실행합니다.
make prepress
결과 PDF는 여기에 있을 것입니다: docs/_build/latex/en/zenithstolch750superdutybuild-prepress.pdf
.
모든 것을 만들기
HTML과 PDF를 포함한 모든 것을 빌드합니다.
make all
참고문헌
참고 문헌은 다음과 같이 ``jabref``로 편집할 수 있습니다.
jabref docs/_source/aircraft-moe.bib