File tree Expand file tree Collapse file tree 3 files changed +25
-5
lines changed
docs_src/performance-tools Expand file tree Collapse file tree 3 files changed +25
-5
lines changed Original file line number Diff line number Diff line change 77# Useful for local testing
88
99FROM python:3-slim
10- RUN apt-get update && apt-get install --no-install-recommends -y git \
11- && pip install mkdocs "mkdocs-material>=8.2" "mkdocs-htmlproofer-plugin>=0.8" "mkdocs-swagger-ui-tag" && \
10+ RUN apt-get update && apt-get install --no-install-recommends -y git wget unzip \
11+ && pip install mkdocs "mkdocs-material>=8.2" "mkdocs-htmlproofer-plugin>=0.8" \
12+ "mkdocs-swagger-ui-tag" "mkdocstrings>=0.24.3" "mkdocstrings-python>=1.9.2" && \
1213 rm -rf /var/lib/apt/lists/*
14+
15+ WORKDIR /apis
16+ RUN wget https://github.com/intel-retail/performance-tools/archive/refs/heads/main.zip
17+ RUN unzip main.zip
18+ WORKDIR /benchmark-scripts
19+ RUN mv /apis/performance-tools-main/benchmark-scripts/* .
20+
1321EXPOSE 8000
1422ENTRYPOINT ["mkdocs"]
1523CMD ["serve", "--dev-addr=0.0.0.0:8000"]
Original file line number Diff line number Diff line change 1+ # API Documentation for Benchmark Scripts
2+
3+ ## Benchmark Package
4+
5+ ::: benchmark
6+ handler: python
7+ options:
8+ show_source: false
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ repo_name: "intel-retail/documentation"
44repo_url : " https://github.com/intel-retail/documentation"
55docs_dir : ./docs_src
66site_dir : ./docs
7- copyright : ' Copyright © 2023 Intel Corporation'
7+ copyright : ' Copyright © 2024 Intel Corporation'
88use_directory_urls : false
99theme :
1010 name : ' material'
@@ -27,8 +27,11 @@ theme:
2727 - toc.integrate
2828plugins :
2929 - search
30- repo_url : https://github.com/intel-retail/documentation
31- repo_name : intel-retail/documentation
30+ - mkdocstrings :
31+ enable_inventory : true
32+ handlers :
33+ python :
34+ paths : [../benchmark-scripts]
3235nav :
3336 - Home : ' index.md'
3437 - Architecture Decisions :
4144 - Target Device : ' Architecture/target-device.md'
4245 - Performance Tools :
4346 - Benchmarking : ' performance-tools/benchmark.md'
47+ - Benchmarking APIs : ' performance-tools/api-docs.md'
4448extra_css :
4549 - ./stylesheets/index.css
4650 - https://fonts.googleapis.com/icon?family=Material+Icons
You can’t perform that action at this time.
0 commit comments