diff --git a/.github/workflows/deploy_docs.yaml b/.github/workflows/deploy_docs.yaml index a1663645..22500072 100644 --- a/.github/workflows/deploy_docs.yaml +++ b/.github/workflows/deploy_docs.yaml @@ -2,7 +2,11 @@ name: Deploy MkDocs to GitHub Pages on: push: - branch: [main] + branches: + - main + pull_request: + branches: + - main jobs: deploy-docs: diff --git a/docs/references_data.md b/docs/references/data/references_choice_dataset.md similarity index 100% rename from docs/references_data.md rename to docs/references/data/references_choice_dataset.md diff --git a/docs/references/data/references_dataset.md b/docs/references/data/references_dataset.md new file mode 100644 index 00000000..48164b63 --- /dev/null +++ b/docs/references/data/references_dataset.md @@ -0,0 +1,3 @@ +# OpenSource datasets Loaders + +:::choice_learn.datasets.base diff --git a/docs/references/data/references_store.md b/docs/references/data/references_store.md new file mode 100644 index 00000000..26e4e5f1 --- /dev/null +++ b/docs/references/data/references_store.md @@ -0,0 +1,3 @@ +# Features Storage + +:::choice_learn.data.store diff --git a/docs/references_base_model.md b/docs/references/models/references_base_model.md similarity index 64% rename from docs/references_base_model.md rename to docs/references/models/references_base_model.md index 7eafcdf5..cda16f5c 100644 --- a/docs/references_base_model.md +++ b/docs/references/models/references_base_model.md @@ -1,3 +1,3 @@ -# ChoiceDataset +# Base model class :::choice_learn.models.base_model diff --git a/docs/references_clogit.md b/docs/references/models/references_clogit.md similarity index 62% rename from docs/references_clogit.md rename to docs/references/models/references_clogit.md index 4551842f..bfd508c5 100644 --- a/docs/references_clogit.md +++ b/docs/references/models/references_clogit.md @@ -1,3 +1,3 @@ -# ChoiceDataset +# Conditional MNL class :::choice_learn.models.conditional_mnl diff --git a/docs/references_rumnet.md b/docs/references/models/references_rumnet.md similarity index 65% rename from docs/references_rumnet.md rename to docs/references/models/references_rumnet.md index 19e0ecec..507e9070 100644 --- a/docs/references_rumnet.md +++ b/docs/references/models/references_rumnet.md @@ -1,3 +1,3 @@ -# ChoiceDataset +# RUMnet class :::choice_learn.models.rumnet diff --git a/mkdocs.yaml b/mkdocs.yaml index 001f9652..b596078d 100644 --- a/mkdocs.yaml +++ b/mkdocs.yaml @@ -54,10 +54,15 @@ nav: - How-To Guides: - Introduction: how-to-guides.md - ChoiceDataset Usage: notebooks/choice_learn_introduction_data.md + - Conditional Logit Estimation: notebooks/choice_learn_introduction_clogit.md + - Custom Choice Model Creation: notebooks/choice_learn_introduction_data.md - References: - - references_data.md + - Data: + - ChoiceDataset: references/data/references_choice_dataset.md + - Features Storage: references/data/references_store.md + - Available Datasets: references/data/references_dataset.md - Choice Models: - - Base Model: references_base_model.md - - Conditional Logit: references_clogit.md - - RUMnet: references_rumnet.md + - Base Model: references/models/references_base_model.md + - Conditional Logit: references/models/references_clogit.md + - RUMnet: references/models/references_rumnet.md - explanations.md