-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from mobehbooei/main
steps.md completed
- Loading branch information
Showing
2 changed files
with
19 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
@@ -1,10 +1,21 @@ | ||
# add new DOIs to the website | ||
1- put all your new DOIs in a new csv file | ||
2- from file modify_xml.py run get_new_doi_data() to get the data for these new DOIs | ||
3- from file modify_xml.py run add_doi_to_xml() to add these new papers to xml files | ||
1- put all your new DOIs in a new csv file | ||
2- from file modify_xml.py run get_new_doi_data() to get the data for these new DOIs | ||
3- from file modify_xml.py run add_doi_to_xml() to add these new papers to xml files | ||
4- we should extract the name_variants.yaml file again by go through get_author_institute.ipynb file | ||
|
||
# update the projects | ||
1- update the file doi2projects.xlsx for modifining the project or add a new row for new record | ||
2- use create_projects.ipynb to regenerate the projects' numbers (running this code will update the third column of the same file) | ||
1- update the file doi2projects.xlsx for modifining the project or add a new row for new record | ||
2- use create_projects.ipynb to regenerate the projects' numbers (running this code will update the third column of the same file) | ||
3- after generating the doi2project.xlsx file use assign_prj function from modify_xml.py file to modify the xml files | ||
|
||
# build the website | ||
Just run this line of code in the root folder of the project | ||
|
||
``` | ||
sudo ANTHOLOGY_PREFIX="https://gwf-uwaterloo.github.io/gwf-publications" make | ||
``` | ||
|
||
# Update Docs folder | ||
1- delete all the files and folders inside the docs repo | ||
2- copy all the files and folders inside build/website/gwf-publications repo and paste it to the docs repo |