Skip to content

Commit

Permalink
docs: use main branch for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hollandjg committed Dec 1, 2023
1 parent 1e15432 commit c9c479b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/cli/basic-usage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ The command line interface allows us to load and save `States` and run arbitrary
To use the command line, we first define a package `example` containing the functions we want to run on the State:

```python title="example/__init__.py"
--8<-- "https://raw.githubusercontent.com/AutoResearch/autora-core/docs/update-workflow-docs/docs/cli/basic-usage/example/__init__.py"
--8<-- "https://raw.githubusercontent.com/AutoResearch/autora-core/main/docs/cli/basic-usage/example/__init__.py"
```


```python title="example/lib.py"
--8<-- "https://raw.githubusercontent.com/AutoResearch/autora-core/docs/update-workflow-docs/docs/cli/basic-usage/example/lib.py"
--8<-- "https://raw.githubusercontent.com/AutoResearch/autora-core/main/docs/cli/basic-usage/example/lib.py"
```

We can run the pipeline of initialization, condition generation, experiment and theory building as follows.
Expand Down Expand Up @@ -115,7 +115,7 @@ print(state)
For instance, we can plot the results:

```python title="example/plot.py"
--8<-- "https://raw.githubusercontent.com/AutoResearch/autora-core/docs/update-workflow-docs/docs/cli/basic-usage/example/plot.py"
--8<-- "https://raw.githubusercontent.com/AutoResearch/autora-core/main/docs/cli/basic-usage/example/plot.py"
```

```shell
Expand Down

0 comments on commit c9c479b

Please sign in to comment.