diff --git a/docs/docs/about/getting_started/api/index.md b/docs/docs/about/getting_started/api/index.md index caef8e958a..79ca657622 100644 --- a/docs/docs/about/getting_started/api/index.md +++ b/docs/docs/about/getting_started/api/index.md @@ -4,4 +4,4 @@ sidebar_position: 3 --- # API Reference -Generated API reference for the libecalc library can be found [here](https://equinor.github.io/ecalc/docs/about/references/api/libecalc.html). +API reference for the libecalc library will be available here later in 2025. diff --git a/docs/make-api-reference.py b/docs/make-api-reference.py deleted file mode 100644 index 81e23b5b35..0000000000 --- a/docs/make-api-reference.py +++ /dev/null @@ -1,25 +0,0 @@ -import shutil -from pathlib import Path - -from pdoc import pdoc - - -if __name__ == "__main__": - """ - Autogenerate python API documentation - - Output will be put in the docusaurus build directory - """ - here = Path(__file__).parent - out = here / "temp_api_docs" - destination = here / "build" / "docs" / "about" / "getting_started" / "api" - if out.exists(): - shutil.rmtree(out) - - # Generate reference documentation using pdoc - modules = ["libecalc", "!libecalc.application", "!libecalc.core", "!libecalc.fixtures", "!libecalc.presentation"] - pdoc(*modules, output_directory=out) - - shutil.move(str(out / "libecalc.html"), str(destination)) - shutil.move(str(out / "libecalc"), str(destination)) - shutil.rmtree(out)