Skip to content

Commit

Permalink
adds hathifiles documentation too
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Jan 28, 2025
1 parent 58f7361 commit cec8dba
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/hathifiles/diagrams.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Hathifiles Diagrams

```mermaid
flowchart TD
p[Poll]
ht["HathiTrust"]
w["Webhook"]
bus["Event bus"]
u["Update workflow"]
db["Hathifiles Mysql DB"]
p--"Is there a new update file?"-->ht
p--"These are the new files"-->w
w--"Here are the new update files"-->bus
bus--"You need to process these files"-->u
u--"pulls files"-->ht
u--"update with this data"-->db
```
4 changes: 4 additions & 0 deletions docs/hathifiles/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Hathifiles
=================
.. toctree::
diagrams
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ documentation for details.
:caption: Contents:

api/aim
hathifiles/index
digifeeds/index
future_projects/index

0 comments on commit cec8dba

Please sign in to comment.