-
Notifications
You must be signed in to change notification settings - Fork 16
Edit and Update: Enhancements to Cal-ITP Data Services Documentation #3554
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
Merged
Merged
Changes from 9 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
1066c07
Curriculum Docs Update
shweta487 c3521e8
curriculum_docs_update
shweta487 7088deb
curriculum docs update
shweta487 bbc2408
curriculum docs update
shweta487 442ea58
Merge branch 'main' into curriculum_docs_update
shweta487 cbd00f2
curriculum docs update
shweta487 4dd5c07
Org Chart Link Updated
shweta487 c27b79a
Changes made to Portfolio page in docs
shweta487 306bedf
TBD removed
shweta487 7f834c2
content changed portfolio site
shweta487 55a5a9f
content changed portfolio site
shweta487 cc13683
Merge branch 'main' into curriculum_docs_update
shweta487 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ Netlify is the platform turns our Jupyter Notebooks uploaded to GitHub into a fu | |
To setup your netlify key: | ||
|
||
- Ask in Slack/Teams for a Netlify key if you don't have one yet. | ||
- If you already have your Netlify key set up, find it by typing `cat ~/.bash_profile` into the root of your repo. | ||
- Install netlify: `npm install -g netlify-cli` | ||
- Navigate to your main directory | ||
- Edit your bash profile using Nano: | ||
|
@@ -47,14 +48,16 @@ Create a `README.md` file in the repo where your work lies. This also forms the | |
|
||
Each `.yml` file creates a new site on the [Portfolio's Index Page](https://analysis.calitp.org/), so every project needs its own file. DLA Grant Analysis, SB125 Route Illustrations, and Active Transportation Program all have their own `.yml` file. | ||
|
||
All the `.yml` files live here at [data-analyses/portfolio/sites](https://github.com/cal-itp/data-analyses/tree/main/portfolio/sites). | ||
All the `.yml` files live here at [data-analyses/portfolio/sites](https://github.com/cal-itp/data-analyses/tree/main/portfolio/sites). Navigate to this folder to create the .yml file. | ||
|
||
Here's how to create a `yml` file: | ||
|
||
- Include the directory to the notebook(s) you want to publish. | ||
|
||
- Name your `.yml` file. For now we will use `my_report.yml` as an example. | ||
|
||
- `.yml` file should contain the title, directory, README.md path and notebook path. | ||
|
||
- The structure of your `.yml` file depends on the type of your analysis: | ||
|
||
- If you have one parameterized notebook with **one parameter**: | ||
|
@@ -206,3 +209,9 @@ build_my_reports: | |
git add portfolio/my_report/district_*/ portfolio/my_report/*.yml portfolio/my_report/*.md | ||
git add portfolio/sites/my_report.yml | ||
``` | ||
|
||
### Delete Portfolio/ Refresh Index Page | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm rereading this again and can you ask Tiffany or Eric how to take off a site analysis.calitp.org completely? These instructions are about redeploying your portfolio, rather than deleting a portfolio completely. |
||
|
||
When creating a new portfolio and there’s an old version with existing files or content on your portfolio site or in your local environment, it’s important to clean up the old files before adding new content. | ||
shweta487 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Use python `portfolio/portfolio.py clean my_report` before deploying your report. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.