Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ This package is for implementing the software needs of the E3SM Communications t

### Simple commands

`e3sm-comms-e3sm-org-reviewer`
- input: txt file listing e3sm.org pages to review, txt file containing phrases to search for
- output: txt file listing e3sm.org pages containing those phrases

`e3sm-comms-html-reviewer`
- input: 1 txt file of html copied from WordPress that includes yellow highlights left over from Confluence.
- output: 1 txt file of html with those highlights removed.
Expand All @@ -23,6 +19,14 @@ This package is for implementing the software needs of the E3SM Communications t
- input: txt file of time intervals to cut from the video, txt file of initial timestamps
- output: txt file of new timestamps after cutting the specified intervals

`e3sm-comms-exported-xml-reviewer`
- input:
- From WordPress under Tools > Export: xml file of WordPress pages, xml file of WordPress posts. NOTE: Only ever use the XML files downloaded directly from WordPress; the source must be trusted.
- From output of `e3sm-comms-website-reviewer`: txt file of hierarchical outline of Confluence pages
- Other: txt file of sensitive terms, txt file of whitelisted e3sm.org pages, txt file of links known to be inaccessible for automated review
- output: 6 files under `output/exported_xml_reviewer/`: (1) `wordpress_sensitive_terms_report.md`, (2) `wordpress_hierarchical_outline.txt`, (3) `wordpress_navigation_issues_report.md`, (4) `wordpress_invalid_internal_links_report.md`, (5) `wordpress_published_pages_link_report.md`, (6) `wordpress_invalid_external_links_report.md`

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Reorder these as well

- output (optional, with `--check-non-published-access`): also `wordpress_non_published_accessibility_report.md`

### Confluence API commands (require Confluence token)

`e3sm-comms-newsletter-reviewer`
Expand Down
27 changes: 0 additions & 27 deletions e3sm_comms/e3sm_org_reviewer/main.py

This file was deleted.

9 changes: 9 additions & 0 deletions e3sm_comms/exported_xml_reviewer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Dependency hierarchy

It is important to not introduce circular dependencies.
To avoid this, the dependency hierarchy is listed below:

- Level 1: `main.py`
- Level 2: `builders.py`
- Level 3: `confluence.py`, `link_analysis.py`, `readers.py`
- Level 4: `utils.py`
Loading