Remove old latex docs

This commit is contained in:
flyingscorpio@clevo 2023-01-12 17:44:10 +01:00
parent 2facc86898
commit abd8904933
3 changed files with 1 additions and 33 deletions

View file

@ -1,6 +1,6 @@
all: server documentation
documentation: doc/architecture.pdf
documentation:
@cargo doc --document-private-items --no-deps
server: src/main.rs
@ -9,13 +9,6 @@ server: src/main.rs
release: src/main.rs
@cargo build --release
doc/architecture.pdf: doc/architecture.tex
@latexmk -pdf doc/architecture.tex
@if ! cmp --silent build/architecture.pdf doc/architecture.pdf; then \
cp build/architecture.pdf doc/architecture.pdf; \
echo "Updated"; \
fi
clean:
@cargo clean
@rm -rf build 2>/dev/null

Binary file not shown.

View file

@ -1,25 +0,0 @@
\documentclass[border=0.2cm]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes}
\begin{document}
\begin{tikzpicture}
\node[rectangle,draw,text height=3cm,minimum width=4cm] (server) at (0,0) {API REST};
\node[rectangle,draw,] (rust_server) at (0, 0) {\small Rust};
\node[rectangle,draw,] (public_api) at (6, 0) {API publique};
\node[rectangle,draw,text height=1.5cm,minimum width=2cm] (client-python) at (-6,2) {Client 1};
\node[rectangle,draw,] (python_client) at (-6, 2) {\small Python};
\node[rectangle,draw,text height=1.5cm,minimum width=2cm] (client-rust) at (-6,-2) {Client 2};
\node[rectangle,draw,] (rust_client) at (-6, -2) {\small Rust};
\draw[-latex,thick] (client-python) -- (server) node[midway,fill=white]{HTTP};
\draw[-latex,thick] (client-rust) -- (server) node[midway,fill=white]{HTTP};
\draw[-latex,thick] (server) -- (public_api) node[midway,fill=white]{HTTP};
\end{tikzpicture}
\end{document}