Commit 659f7d0 1 parent 6d7a3ce commit 659f7d0 Copy full SHA for 659f7d0
File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,11 @@ This will change in the future, but for now:
25
25
- source schemas are found in the ` /schemas ` subfolder. Edit there.
26
26
- ` index_contents.py ` will create all the API endpoints and copy the schemas themselves into ` /public ` , so they will be served by react
27
27
- run ` npm run bulid ` to create the ` /dist ` folder from the source in ` /src ` (and ` /public ` ).
28
- - Host the site on github pages from the ` dist ` folder?
29
-
28
+ - run ` mv dist docs ` since github pages wants to host from ` /docs ` only. (hack!)
29
+ - Host the site on github pages from the ` docs ` folder
30
30
31
+ TODO:
32
+ - [ ] re-automate the index_contents.py action (it's broken)
33
+ - [ ] automate the above build steps
34
+ - [ ] fix the breadcrumbs so they just update search params instead of triggering page refresh
31
35
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ const SchemaDashboard = (props) => {
59
59
< b > Endpoint:</ b > https://schema.databio.org/{ `${ props . namespace } /${ props . schema } .yaml` } < br />
60
60
< b > Preview (this page):</ b > https://schema.databio.org/?namespace={ `${ props . namespace } ` } & schema = { `${ props . schema } ` } < br />
61
61
62
- < button className = "btn btn-primary my-4" href = { `${ props . namespace } /${ props . schema } .yaml` } > Download schema</ button >
62
+ < button className = "btn btn-primary my-4" href = { `/ ${ props . namespace } /${ props . schema } .yaml` } > Download schema</ button >
63
63
64
64
< h4 > Preview</ h4 >
65
65
< pre style = { divStyle } > < code > { schema } </ code > </ pre >
You can’t perform that action at this time.
0 commit comments