From 91616610335a28aefad93564539103fde643558c Mon Sep 17 00:00:00 2001 From: Azzaare Date: Sat, 2 Nov 2024 13:52:30 +0900 Subject: [PATCH] Some typos --- README.md | 14 +++++++------- _typos.toml | 5 ++--- example/content.jl | 16 ++++++++-------- ext/SWPGtkExt.jl | 2 +- src/items/publications.jl | 2 +- 5 files changed, 19 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 413199f..b61cc5d 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ The only available theme for the moment is using Zurb foundation responsive fron ### Items -Items are guaranteed to be compatible with the main theme (and hopefully new ones will be too). +Items are guaranteed to be compatible with the main theme (and hopefully new ones will be too). ##### `Publications` : a bibliography based on a bibliography file (uses [Bibliography.jl]((https://github.com/Humans-of-Julia/Bibliography.jl))) @@ -221,7 +221,7 @@ gitrepo = GitRepo( # currently work only with GitHub Please note that GitHub will restrict unidentified requests to a certain amount per IP within a time limit (that I don't know the value). If it happens, a message error from GitHub API will be returned. -To circumvent this issue, you can uncomment the line `local_info["auth_tokens"] = "PATH/TO/token.jl'` in `run.jl` (or add it if necessary) **and** edit the `token.jl` by updating your Personnal [Access Token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token). +To circumvent this issue, you can uncomment the line `local_info["auth_tokens"] = "PATH/TO/token.jl'` in `run.jl` (or add it if necessary) **and** edit the `token.jl` by updating your Personal [Access Token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token). `token.jl` aims to store all authentication tokens (for now, just GitHub). It content must be as follow (it is a simple variable containing your PAT): ```julia @@ -229,10 +229,10 @@ To circumvent this issue, you can uncomment the line `local_info["auth_tokens"] # YOUR TOKENS SHOULD NEVER BE SHARED! IF YOU USE GIT, DON'T FORGET TO ADD `token.jl` TO YOUR `.gitignore` FILE! # YOU CAN ALSO STORE `token.jl` OUTSIDE OF THE STATICWEBPAGES FOLDER! -github_pat = "YOUR_PERSONAL_ACCESS_TOKEN" +github_pat = "YOUR_PERSONAL_ACCESS_TOKEN" ``` -If the token is not valid, a `401: Bad Creditential` error from GitHUb API will be returned. +If the token is not valid, a `401: Bad Creditential` error from GitHub API will be returned. As the comment states, take care not to push your token to your git repo! A good practice could be to store `token.jl` outside of your git project. @@ -242,7 +242,7 @@ As the comment states, take care not to push your token to your git repo! A good biography = Block( paragraphs( """ - Jean-François Baffier is an academic researcher at the RIKEN Center for Advanced Intelligence Project (AIP), and a consultant in Artificial Intelligence, Big Data Science, Data Structures, and Algorithms. As an academic, he gives back to society through fundamental research in computer science supplemented by open source libraries and softwares. + Jean-François Baffier is an academic researcher at the RIKEN Center for Advanced Intelligence Project (AIP), and a consultant in Artificial Intelligence, Big Data Science, Data Structures, and Algorithms. As an academic, he gives back to society through fundamental research in computer science supplemented by open source libraries and software. """, """ paragraph 2 @@ -266,7 +266,7 @@ research = Block( Principal Research Projects: Network Interdiction, Compressed Data Structures, Modern Academics, Explainable AI. Other research interest includes Graph Theory, Geometry, Optimization, and Games. """, """ - All of this research is supported by Open-Source Softwares and published as peer-review academic papers. + All of this research is supported by Open-Source Softwares and published as peer-review academic papers. """ ), images() @@ -388,7 +388,7 @@ email( ##### Link can be an internal or an external link ```julia -link("research project", "research.hmtl") # inner link +link("research project", "research.html") # inner link link("StaticWebPages.jl", "https://github.com/Humans-of-Julia/StaticWebPages.jl") ``` diff --git a/_typos.toml b/_typos.toml index 1f4ec6c..de0d0ee 100644 --- a/_typos.toml +++ b/_typos.toml @@ -1,3 +1,2 @@ -[default.extend-words] -# Don't correct the surname "Teh" -annote = "annote" \ No newline at end of file +[files] +extend-exclude = ["*.css"] \ No newline at end of file diff --git a/example/content.jl b/example/content.jl index 18529a2..b84a4cd 100644 --- a/example/content.jl +++ b/example/content.jl @@ -1,5 +1,5 @@ ###################################### -# General informations +# General information ###################################### info["avatar"] = "pic.jpg" @@ -128,13 +128,13 @@ grants = TimeLine( biography = Block( paragraphs( """ - Jean-François Baffier is an academic researcher at the RIKEN Center for Advanced Intelligence Project (AIP), and a consultant in Artificial Intelligence, Big Data Science, Data Structures, and Algorithms. As an academic, he gives back to society through fundamental research in computer science supplemented by open source libraries and softwares. + Jean-François Baffier is an academic researcher at the RIKEN Center for Advanced Intelligence Project (AIP), and a consultant in Artificial Intelligence, Big Data Science, Data Structures, and Algorithms. As an academic, he gives back to society through fundamental research in computer science supplemented by open source libraries and software. """, """ Jean-François graduated Master course at University Paris-Sud and got his Ph.D. from the University of Tokyo. He was a member of the ERATO Kawarabayashi Large Project in Tokyo and Sendai, and a JSPS-CNRS research fellow hosted at the Tokyo Institute of Technology (Japan). He also was a JFLI member from October 2011 to August 2018. """, """ - His current $(link("research project", "research.hmtl")) involves the study of the “Analysis of information networks,” the “Smart compression for high-scalability of data structures,” and “Explainable Artificial Intelligence.” Other topic of interest covers modeling of failures and routing in Networks, Game Analysis, and AI for Games. + His current $(link("research project", "research.html")) involves the study of the “Analysis of information networks,” the “Smart compression for high-scalability of data structures,” and “Explainable Artificial Intelligence.” Other topic of interest covers modeling of failures and routing in Networks, Game Analysis, and AI for Games. """, """ Jean-François implemented the StaticWebPages.jl package that was used to generate this website using a simple content file. This is a dummy email: $(email("dummy@example.purpose")) @@ -192,10 +192,10 @@ page( topics = Block( paragraphs( """ - Principal Research Projects: Network Interdiction, Compressed Data Sructures, Modern Academics, Explainable AI. Other research interest includes Graph Theory, Geometry, Optimization, and Games. + Principal Research Projects: Network Interdiction, Compressed Data Structures, Modern Academics, Explainable AI. Other research interest includes Graph Theory, Geometry, Optimization, and Games. """, """ - All of this research is supported by Open-Source Softwares and published as peer-review academic papers. + All of this research is supported by Open-Source Software and published as peer-review academic papers. """ ), images() @@ -238,7 +238,7 @@ modernac = Block( context """, """ - resutls + results """ ), images( @@ -252,7 +252,7 @@ explainable = Block( context """, """ - resutls + results """ ), images() @@ -270,7 +270,7 @@ page( items = interdiction ), Section( - title = "Compressed Data Sructures", + title = "Compressed Data Structures", items = structure ), Section( diff --git a/ext/SWPGtkExt.jl b/ext/SWPGtkExt.jl index f0c39c3..0a17f33 100644 --- a/ext/SWPGtkExt.jl +++ b/ext/SWPGtkExt.jl @@ -52,7 +52,7 @@ end function ui() # ts = GtkTreeStore(String) - # info = GtkTreeStore.append(ts, Dict(:text => "Informations")) + # info = GtkTreeStore.append(ts, Dict(:text => "Information")) # tv = populate_tree_view(content) # # Update the path to your Glade file diff --git a/src/items/publications.jl b/src/items/publications.jl index 6e33805..f387c3b 100644 --- a/src/items/publications.jl +++ b/src/items/publications.jl @@ -1,7 +1,7 @@ """ Publications -A structure that store all the informations required to build and export a bibloigraphy. +A structure that store all the information required to build and export a bibloigraphy. """ struct Publications parser::Parser