diff --git a/main.py b/app/main.py similarity index 92% rename from main.py rename to app/main.py index 7fac573..40fdc21 100644 --- a/main.py +++ b/app/main.py @@ -5,6 +5,9 @@ from app.converter import Converter def main(): + """ + Main function of the program. + """ # Configurator ensure_config_exists() configurator = Configurator() diff --git a/docker/Dockerfile b/docker/Dockerfile index f28b277..0d1627c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -9,4 +9,4 @@ RUN pip install -r requirements.txt COPY .. /app ENTRYPOINT [ "python" ] -CMD [ "main.py" ] \ No newline at end of file +CMD [ "-m", "app.main" ] \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 4e940cd..48f03c6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -8,7 +8,7 @@ project = "Jekyll To Hugo" copyright = "2023-Present, Denis Nutiu and contributors" author = "Denis Nutiu and contributors" -release = "0.0.7" +release = "0.0.9" html_logo = "_static/nuculabs_logo.png" # -- General configuration --------------------------------------------------- diff --git a/pyproject.toml b/pyproject.toml index 7a7086e..2404da3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "jekyll-to-hugo" -version = "0.0.8" +version = "0.0.9" authors = [ { name="Denis Nutiu", email="nuculabs@outlook.com" }, ] @@ -28,7 +28,7 @@ dependencies = [ ] [project.scripts] -jekyll-to-hugo = "main:main" +jekyll-to-hugo = "app.main:main" [project.optional-dependencies] dev = ["black", "isort", "autoflake", "pytest"]