Skip to content

Commit

Permalink
updated dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lrdossan committed Nov 11, 2024
1 parent 3646c5d commit 37786a6
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 20 deletions.
12 changes: 3 additions & 9 deletions caimira/docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,10 @@ RUN conda install conda-forge::graphviz

# Copy project files to the container
COPY . /app
WORKDIR /app
WORKDIR /app.

# Install caimira
RUN pip install .

# Docs directory
WORKDIR /app/docs

# Install docs dependencies
RUN pip install -r requirements.txt
# Install CAiMIRA docs
RUN pip install .[doc]

# Sphinx directory
WORKDIR /app/docs/sphinx
Expand Down
3 changes: 0 additions & 3 deletions caimira/docs/mkdocs/docs/code_documentation/index.md

This file was deleted.

5 changes: 4 additions & 1 deletion caimira/docs/mkdocs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ theme:

nav:
- Home: index.md
- Project README: project_README.md
- Diameter-dependent model: full_diameter_dependence.md
- Code documentation: code_documentation/index.md
- Code-related documentation:
- CAiMIRA REST API: code_documentation/rest_api.md
- CAiMIRA models: code_documentation/models.md

markdown_extensions:
- pymdownx.arithmatex:
Expand Down
5 changes: 0 additions & 5 deletions caimira/docs/requirements.txt

This file was deleted.

3 changes: 2 additions & 1 deletion caimira/docs/style_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ def main():
print(f"File '{md_file_path}' does not exist, skipping update.")

if __name__ == "__main__":
main()
main()

5 changes: 4 additions & 1 deletion caimira/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ test = [
]
doc = [
"sphinx",
"sphinx_rtd_theme"
"sphinx_markdown_builder",
"pylint",
"mkdocs",
"mkdocs-material",
]

[project.urls]
Expand Down

0 comments on commit 37786a6

Please sign in to comment.