Skip to content

Commit

Permalink
Init PPMGR
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartłomiej Rasztabiga committed Jan 12, 2025
1 parent dc2d7e7 commit b168d4e
Show file tree
Hide file tree
Showing 24 changed files with 570 additions and 276 deletions.
Binary file removed .DS_Store
Binary file not shown.
20 changes: 6 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./docs
working-directory: docs
strategy:
matrix:
compiler: ['lualatex', 'pdflatex']
Expand All @@ -16,6 +16,9 @@ jobs:
thesis: ['EngineerThesis', 'MasterThesis']
fail-fast: false
steps:
- name: Checkout WUT-Thesis repository
uses: actions/checkout@v2

- name: Install LaTeX dependencies
run: |
sudo apt-get install -y \
Expand All @@ -30,19 +33,8 @@ jobs:
texlive-luatex \
tex-gyre
- name: Checkout WUT-Thesis repository
uses: actions/checkout@v2

- name: Install Python dependencies
run: sudo pip install -r requirements.txt

- name: Generate test cases
run: scons generate_tests

- name: Generate PDF file
run: cp test/${{matrix.lang}}/${{matrix.faculty}}/${{matrix.thesis}}.textest main.tex && scons all

- name: Verify build with referential text
run: |
scons test pdf=build/pdfs/${{matrix.compiler}}.pdf \
ref=test/${{matrix.lang}}/${{matrix.faculty}}/${{matrix.thesis}}_${{matrix.compiler}}.txt
- name: Build PDF file
run: scons all
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/.DS_Store
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/masters-thesis.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file removed docs/.DS_Store
Binary file not shown.
19 changes: 19 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,22 @@ test/**/*.pdf
.sconsign.dblite
.vscode
/*.pdf
venv

main.app
main.aux
main.bbl
main.bcf
main.bcf-SAVE-ERROR
main.blg
main.fdb_latexmk
main.fls
main.lof
main.log
main.lot
main.out
main.run.xml
main.synctex.gz
main.toc

**/.DS_Store
65 changes: 15 additions & 50 deletions docs/main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -18,41 +18,41 @@
% \facultyeiti: Wydział Elektroniki i Technik Informacyjnych
% \facultymeil: Wydział Mechaniczny Energetyki i Lotnictwa
% --
% Rodzaj pracy: \EngineerThesis, \MasterThesis
% Rodzaj pracy: \EngineerThesis, \MasterThesis, \PPMGR
% --
% Wybór języka: \langpol, \langeng
%-------------------------------------------------------------
\facultyeiti % Wydział Elektroniki i Technik Informacyjnych
\EngineerThesis % Praca inżynierska
\PPMGR % Praca inżynierska
\langpol % Praca w języku polskim

\begin{document}

%------------------
% Strona tytułowa
%------------------
\instytut{XXXXXX}
\kierunek{XXXXXX}
\specjalnosc{XXXXXX}
\instytut{Informatyki}
\kierunek{Informatyka}
\specjalnosc{Inteligentne Systemy}
\title{
Niepotrzebnie długi i skomplikowany tytuł pracy \\
trudny do przeczytania, zrozumienia i wymówienia
Zastosowanie dużych modeli językowych (LLM) \\
do generowania konfiguracji Docker i Kubernetes
}
% Title in English for English theses
% In English theses, you may remove this command
\engtitle{
Unnecessarily long and complicated thesis' title \\
difficult to read, understand and pronounce
Application of large language models (LLMs) \\
for generating Docker and Kubernetes configurations
}
% Title in Polish for English theses
% Use it only in English theses
\poltitle{
Niepotrzebnie długi i skomplikowany tytuł pracy \\
trudny do przeczytania, zrozumienia i wymówienia
Zastosowanie dużych modeli językowych (LLM) \\
do generowania konfiguracji Docker i Kubernetes
}
\author{\{Imię i Nazwisko\}}
\album{XXXXXX}
\promotor{XXXXXX}
\author{Bartłomiej Rasztabiga}
\album{304117}
\promotor{dr inż. Mateusz Modrzejewski}
\date{\the\year}
\maketitle

Expand Down Expand Up @@ -87,13 +87,6 @@
\pagestyle{headings}

\input{tex/1-wstep} % Wygodnie jest trzymać każdy rozdział w osobnym pliku.
\input{tex/2-de-finibus} % Umożliwia to również łatwą migrację do nowej wersji szablonu:
\input{tex/3-code-listings} % zazwyczaj wystarczy podmienić plik src/wut-thesis.cls

% Można też pisać rozdziały w jednym pliku.
\clearpage % Zawsze zaczynamy rozdział od nowej strony
\section{Summatio}
\lipsum[4-10]

%---------------
% Bibliografia
Expand All @@ -109,9 +102,7 @@ \section{Summatio}
% Makro \acronym dodaje skrót/symbol do listy,
% zapewniając podstawowe formatowanie.
\acronymlist
\acronym{EiTI}{Wydział Elektroniki i Technik Informacyjnych}
\acronym{PW}{Politechnika Warszawska}
\acronym{WEIRD}{ang. \emph{Western, Educated, Industrialized, Rich and Democratic}}
\acronym{LLM}{ang. \emph{Large Language Model}}
\vspace{0.8cm}

%--------------------------------------
Expand All @@ -130,32 +121,6 @@ \section{Summatio}
%-------------

% Obrazki i tabele w załącznikach nie trafiają do spisów
\captionsetup[figure]{list=no}
\captionsetup[table]{list=no}

% Załącznik 1
\clearpage
\appendix{Nazwa załącznika 1}
\lipsum[1-3]
\begin{figure}[!h]
\centering \includegraphics[width=0.5\linewidth]{logopw2.png}
\caption{Obrazek w załączniku.}
\end{figure}
\lipsum[4-7]

% Załącznik 2
\clearpage
\appendix{Nazwa załącznika 2}
\lipsum[1-2]
\begin{table}[!h] \centering
\caption{Tabela w załączniku.}
\begin{tabular} {| c | c | r |} \hline
Kolumna 1 & Kolumna 2 & Liczba \\ \hline\hline
cell1 & cell2 & 60 \\ \hline
\multicolumn{2}{|r|}{Suma:} & 123,45 \\ \hline
\end{tabular}
\end{table}
\lipsum[3-4]

% Używając powyższych spisów jako szablonu,
% możesz dodać również swój własny wykaz,
Expand Down
Binary file added docs/src/pl/title/ppmgr.pdf
Binary file not shown.
3 changes: 3 additions & 0 deletions docs/src/wut-thesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@
\newcommand{\MasterThesis}{
\newcommand{\@ThesisType}{mgr}
}
\newcommand{\PPMGR}{
\newcommand{\@ThesisType}{ppmgr}
}
\newcommand{\instytut}[1]{
\newcommand{\@instytut}{#1}
}
Expand Down
139 changes: 0 additions & 139 deletions docs/tex/2-de-finibus.tex

This file was deleted.

Loading

0 comments on commit b168d4e

Please sign in to comment.