Skip to content

Commit 1aa1229

Browse files
committed
Add documentation about inheritance for template.html
1 parent 9e08fa1 commit 1aa1229

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The file template.html in this directory is template base for several files. See
2+
the diagram below for the inheritance structure. If you make changes to
3+
template.html, be sure to check all the files that inherit from it to make sure
4+
they still work as expected.
5+
6+
These files are currently in active use, however there are more files that
7+
inherit from template.html that are not currently in use.
8+
- search.html is the template used for https://db.indra.bio
9+
- search_statements.html is the template used for https://db.indra.bio/statements
10+
- statements_view.html is the template used in the HtmlAssembler class in indra.
11+
- idbr_statements_view.html is the template used for https://db.indra.bio/statements/from...
12+
13+
```mermaid
14+
graph LR
15+
A[indra: template.html] --> B[indra_db: idbr_template.html]
16+
A --> C[indra: statements_view.html - serves HtmlAssembler]
17+
C --> D[indra_db: idbr_statements_view.html - serves db.indra.bio/statements/from...]
18+
B --> E[indra_db: search.html - serves db.indra.bio]
19+
B --> F[indra_db: search_statements.html - serves db.indra.bio/statements search]
20+
```

0 commit comments

Comments
 (0)