Skip to content

Commit

Permalink
Update documentation #144
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludee committed Oct 29, 2024
1 parent 2101ae5 commit fa9da40
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 5 deletions.
24 changes: 24 additions & 0 deletions docs/code/install/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,27 @@
- environment.yml
- setup.py
- pyproject.toml


## Usage Examples

`pip install oemetadata`


```
from metadata.latest.example import OEMETADATA_LATEST_EXAMPLE
print(OEMETADATA_LATEST_EXAMPLE)
```

```
from metadata.latest.schema import OEMETADATA_LATEST_SCHEMA
print(OEMETADATA_LATEST_SCHEMA)
```

```
from metadata.latest.template import OEMETADATA_LATEST_TEMPLATE
print(OEMETADATA_LATEST_TEMPLATE)
```
13 changes: 13 additions & 0 deletions docs/development/release/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,16 @@
- VERSION
- MANIFEST.in
- .bumpversion.cfg


## Release a new version
See the complete instructions in the [RELEASE_PROCEDURE](./RELEASE_PROCEDURE.md).

### Make PyPI release:

First update version in setup.py, then:

```
python3 setup.py sdist bdist_wheel
twine upload dist/*
```
10 changes: 5 additions & 5 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ theme:
markdown_extensions:
- admonition
- toc:
permalink: 💙
permalink: "#"

plugins:
- mkdocstrings:

# Customization
extra:
generator: false
homepage: https://openenergy-platform.org/
homepage: https://openenergyplatform.org/

extra_css:
- css/extra.css
Expand All @@ -73,9 +73,9 @@ nav:
- Metadata Documentation:
- metadata/index.md
- Key Description: metadata/metadata_key_description.md
# - Code Documentation:
# - Install:
# - code/install/index.md
- Code Documentation:
- Install:
- code/install/index.md
# - Code Style:
# - code/style/index.md
# - Functions:
Expand Down

0 comments on commit fa9da40

Please sign in to comment.