Skip to content

Commit 1fca1c0

Browse files
authored
Merge pull request #5 from jdgratz10/fix_links
Fix links
2 parents a730f37 + a734fd7 commit 1fca1c0

File tree

8 files changed

+32
-8
lines changed

8 files changed

+32
-8
lines changed

.github/workflows/test_workflow.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ jobs:
223223
if: matrix.extend
224224
shell: bash -l {0}
225225
run: |
226-
cd $HOME/work/Aviary_deprecated/Aviary_deprecated/aviary/docs
226+
cd $HOME/work/om-Aviary/om-Aviary/aviary/docs
227227
find _build/html/reports/ -type f -name '*.log' \
228228
-exec echo "#################################################################" \; \
229229
-exec echo {} \; \
@@ -240,7 +240,7 @@ jobs:
240240
echo "Publishing Docs to github.io"
241241
echo "============================================================="
242242
pip install ghp-import
243-
cd $HOME/work/Aviary_deprecated/Aviary_deprecated/aviary
243+
cd $HOME/work/om-Aviary/om-Aviary/aviary
244244
ghp-import -n -p -f docs/_build/html
245245
246246
- name: Scan for security issues

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This installs the package in the current environment such that changes to the Py
1717

1818
## Documentation
1919

20-
[Here is a pdf version of the docs if you're on a NASA device.](https://nasa.sharepoint.com/:b:/t/Aviary/EefUcNcvjD9Et4plLvenlAcBuBltqI6chbSGMc8kdaC3Pg)
20+
The Aviary documentation is located [here](https://openmdao.github.io/om-Aviary/intro.html).
2121

2222
Otherwise you can build the docs locally:
2323

aviary/docs/_toc.yml

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ parts:
7373
- file: developer_guide/codebase_overview
7474
- file: developer_guide/coding_standards
7575
- file: developer_guide/unit_tests
76+
- file: developer_guide/contributing_guidelines
7677
- file: developer_guide/how_to_contribute_docs
7778
- file: developer_guide/debugging_env_from_github
7879

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Guidelines for Contributing Code
2+
3+
Welcome to our guide for contributing to the Aviary codebase. We are so glad you are interested in contributing to our software! There are a few guidelines that our developers follow in order to ensure that Aviary is well organized and uniform. If you would like to contribute to Aviary, please take a minute to read these guidelines:
4+
5+
## Coding Standards
6+
In order to ensure that our code is readable for our contributors, we ask that you follow our coding standards located [here](coding_standards).
7+
8+
## Unit Testing
9+
We require all code entering our codebase to be validated and regression tested. As part of this requirement, any new code that you contribute to our codebase must have an associated unit test. Our pull request approvers will check for this and will ask you to add a test if one is missing. For details on our unit testing structure see [Unit Tests](unit_tests).
10+
11+
## Thorough Documentation
12+
Documentation is the backbone of the Aviary team's support for our user community. The goal of Aviary's documentation is to provide a way for Aviary users to learn the codebase and have their questions answered in an efficient manner. Thus, we monitor the documentation to ensure that changes in the code are reflected in the docs, and that new code features are documented as well. As a result of this, any pull request which alters a feature's behavior must also update the documentation for that feature, and any pull request which creates a new feature for use by a user must also document that feature. For a guide on writing documentation in Aviary visit [How to Contribute Docs](how_to_contribute_docs).
13+
14+
## Docstrings
15+
The Aviary codebase is currently under active development and cleanup, including the addition of docstrings. Thus, not every function and class currently includes a docstring, however, we are slowly adding them. In order to move forwards instead of backwards we require that all added functions and classes include a docstring in the numpy format.
16+
17+
## Benchmark Tests
18+
The Aviary codebase has several benchmark tests which test some of the baseline models included in Aviary. These tests supplement the unit test capability, and are tested frequently by the Aviary team. We encourage you to run these tests using our test runner located [here](https://github.com/OpenMDAO/om-Aviary/blob/main/aviary/run_all_benchmarks.py).
19+
20+
## Use of Issue Backlog
21+
The Aviary team would like a chance to interact with and get community engagement in feature changes to the codebase. The primary place that this engagement happens is in the [issue backlog](https://github.com/OpenMDAO/om-Aviary/issues/new/choose) using the "feature or change request" section. In addition, we would like to be able to track bug fixes that come through the code. To support these goals we encourage users to create issues, and we encourage code contributors to link issues to their pull requests.

aviary/docs/getting_started/installation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Successfully installed pyoptsparse-2.10.1
198198

199199
### Installing Aviary and Running Tests
200200

201-
Now, we are ready to install Aviary. Assume that you will become a contributor sonner or later, we want to install a copy from the main source. Assume you have a GitHub account. Let us open `https://github.com/openMDAO/aviary/` in a web browser and click [fork](https://github.com/OpenMDAO/om-Aviary/fork) on the top-right corner. You then have created your own copy of Aviary on GitHub website. Now we create a copy on your local drive (supposed `USER_ID` is your GitHub account ID):
201+
Now, we are ready to install Aviary. Assume that you will become a contributor sonner or later, we want to install a copy from the main source. Assume you have a GitHub account. Let us open `https://github.com/openMDAO/om-aviary/` in a web browser and click [fork](https://github.com/OpenMDAO/om-Aviary/fork) on the top-right corner. You then have created your own copy of Aviary on GitHub website. Now we create a copy on your local drive (supposed `USER_ID` is your GitHub account ID):
202202

203203
```
204204
$ cd ~/workspace

aviary/docs/getting_started/what_aviary_does.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Let's discuss what Aviary does in more detail.
1717
```{warning}
1818
Aviary is under active development!
1919
If you're using it, know that we are working to update Aviary to make it more user-friendly and capable.
20-
If you have suggestions or comments please let the Aviary team know by [submitting an issue on GitHub](https://github.com/OpenMDAO/om-Aviary/issues/new).
20+
If you have suggestions or comments please let the Aviary team know by [submitting an issue on GitHub](https://github.com/OpenMDAO/om-Aviary/issues/new/choose).
2121
```
2222

2323
## Core functionalities
@@ -77,7 +77,7 @@ We've touched on some of these already, but let's discuss them more.
7777

7878
### Benefits
7979

80-
- Open-source: Aviary is open-source and available on [GitHub](https://github.com/OpenMDAO/Aviary)
80+
- Open-source: Aviary is open-source and available on [GitHub](https://github.com/OpenMDAO/om-Aviary)
8181
- Flexible: Aviary is intended to be flexible enough to design a variety of aircraft and missions
8282
- Customizable: Aviary allows users to add their own subsystems to the problem
8383
- Optimization: Aviary is designed to be used effectively with gradient-based optimization

aviary/docs/intro.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is the landing page for all of Aviary's documentation, including a user's g
44

55
## What Aviary is
66

7-
[Aviary](https://github.com/OpenMDAO/Aviary) is an aircraft analysis, design, and optimization tool built on top of the Python-based optimization framework [OpenMDAO](https://github.com/OpenMDAO/OpenMDAO).
7+
[Aviary](https://github.com/OpenMDAO/om-Aviary) is an aircraft analysis, design, and optimization tool built on top of the Python-based optimization framework [OpenMDAO](https://github.com/OpenMDAO/OpenMDAO).
88
Aviary provides a flexible and user-friendly optimization platform that allows the beginning aircraft modeler to build a useful model, the intermediate aircraft modeler to build an advanced model, and the advanced aircraft modeler to build any model they can imagine.
99

1010
Features of Aviary include:

aviary/docs/misc_resources/planned_future_features.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ The following is a non-exhaustive list of planned features that are not yet impl
1414
- Improved Fortran-to-Aviary converter which requires no human intervention or checking
1515
- Support for relevant FAA regulations governing aircraft design and operation
1616
- Capability to fly reserve missions using the same mission analysis techniques as the main mission (right now reserve estimates are fixed values or fixed percentages of mission fuel)
17-
- Improved model re-run capability
17+
- Improved model re-run capability
18+
- Full test suite that tests the code format, including testing for docstrings on all functions and classes
19+
- Fully tested code blocks in the documentation

0 commit comments

Comments
 (0)