Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Dev branch documentation #65

Open
wants to merge 18 commits into
base: dev
Choose a base branch
from
Open

WIP: Dev branch documentation #65

wants to merge 18 commits into from

Conversation

abzaremba
Copy link

I've created a pull request for the mkdocs documentation.
The static pages are on my fork, and are available at: https://abzaremba.github.io/radCAD/
I would appreciate comments :)

@BenSchZA BenSchZA changed the title Dev Dev branch documentation Jun 12, 2023

## Contributing

Place for optional information about contributors or direction for how to contribute. For the latter --> the cadCAD [contributing](https://github.com/CADLabs/cadCAD/blob/master/CONTRIBUTING.md) directions are useful.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with all these placeholders, let's fill in some MVP versions of each of these. For acknowledgements, let's follow the Ethereum Economic Model as a blueprint about how to automate this.


## Table of Contents

- [Acknowledgments](#acknowledgments)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove these table of contents on all pages. The table of contents is already automated and shown on the right hand side in MkDocs.

* Only works for single subsets (no parameter sweeps)


## Model implementation
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this is an accurate title for what is included below - Model is one of the classes, the content below is about model, simulation, etc.


---

## Model classes and specifications
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section includes one subsection - "Iterating over a Model". I don't think "Model classes and specifications" is an accurate title for the section.

@@ -0,0 +1,97 @@
## cadCAD Compatibility
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given the section "cadCAD Compatibility" is a page under "Reference", is it possibly to have this structure in the directory structure too for all pages? This would make it easier to navigate and review structure I think.

- Examples: examples.md
- Examples (accessible): examples_accessible.md
- Features:
- Features: features.md
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to not repeat the title as in "Features/Features", "Examples/Examples", "Reference/Reference"? It can be confusing to navigate.


## Development

Jump to [Development](development.md) section for information about:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These summary sections referencing other pages are unnecessary I think and will become difficult to maintain.

# print(df.head(10))
# To analyse the last 10 rows of the raw results
# print(df.tail(10))
print(f"The final sizes of the populations are, prey: {df['prey_population'][2001]} and predator: {df['predator_population'][2001]}.")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove hardcoded index - if the index were to change, this would break. Better to select the last row I think.

@@ -15,6 +15,7 @@ cadCAD = { version = "^0.4.27", optional = true }
ray = { version = "^1.1.0", optional = true }
boto3 = { version = "^1.16.43", optional = true }
numpy = "^1.24.1"
ipywidgets = "7.7.2"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ipywidgets is not a core dependency I think, it should be under dev-dependencies. If we include it here, then anyone who installs radCAD will also be installing ipywidgets.

@@ -1,3 +1,6 @@
"""Backend here!
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make these titles consistent - they will appear in the automated documentation. Suggest seeing what the best practise is from Google. Backend here! should be a summary, or left blank if we only want a summary for each of the specific backends below.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's describe here what a Backend is.

@@ -1,3 +1,7 @@
"""Backend that allows multiprocessing
No examples now.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of No examples now., let's use TODO or leave blank.

@BenSchZA BenSchZA changed the title Dev branch documentation WIP: Dev branch documentation Jun 22, 2023
@BenSchZA BenSchZA deleted the branch CADLabs:dev December 27, 2023 08:51
@BenSchZA BenSchZA closed this Dec 27, 2023
@BenSchZA BenSchZA reopened this Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants