Skip to content

Commit

Permalink
Reorganized everything (#135)
Browse files Browse the repository at this point in the history
Removed unsused files, standardized file structure
  • Loading branch information
jcrayb authored Jan 6, 2025
1 parent 74b23c9 commit b0856f6
Show file tree
Hide file tree
Showing 1,151 changed files with 286 additions and 86,756 deletions.
Empty file removed .Rhistory
Empty file.
10 changes: 3 additions & 7 deletions cbtf.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,10 @@ def explore_dir_and_move(home, dir):
"\"link\":\"/dyn": "\"link\":\"../dyn",
"\"link\":\"/sol": "\"link\":\"../sol",
"href=\"/about/\"": "href=\"../about.html\"",
"href=\"/about\"": "href=\"../about.html\"",
"src=\"/about/": "src=\"../about/",
"src=\"/sta/": "src=\"../sta/",
"src=\"/sol/": "src=\"../sol/",
"src=\"/dyn/": "src=\"../dyn/",
"src=\"/Statics/": "src=\"../Statics/",
"src=\"/Solid_Mechanics/": "src=\"../Solid_Mechanics/",
"src=\"/Dynamics/": "src=\"../Dynamics/",
"href=\"${e['item']['link']}\"": "href=\"..${e['item']['link']}\"",
"url(/fonts/source-sans-pro/SourceSansPro-Regular.otf": "url(../fonts/source-sans-pro/SourceSansPro-Regular.otf",
"url(/fonts/source-sans-pro/SourceSansPro-Semibold.otf": "url(../fonts/source-sans-pro/SourceSansPro-Semibold.otf",
Expand Down Expand Up @@ -183,9 +179,9 @@ def explore_dir_and_move(home, dir):
"\"link\":\"/sta": "\"link\":\"./sta",
"\"link\":\"/dyn": "\"link\":\"./dyn",
"\"link\":\"/sol": "\"link\":\"./sol",
"src=\"/Statics/": "src=\"./Statics/",
"src=\"/Solid_Mechanics/": "src=\"./Solid_Mechanics/",
"src=\"/Dynamics/": "src=\"./Dynamics/",
"src=\"/sta/": "src=\"./sta/",
"src=\"/sol/": "src=\"./sol/",
"src=\"/dyn/": "src=\"./dyn/",
"href=\"${e['item']['link']}\"": "href=\".${e['item']['link']}\"",
"src=\"/light-menu.png\"": "src=\"./light-menu.png\"",
"src=\"/dark-menu.png\"": "src=\"./dark-menu.png\"",
Expand Down
16 changes: 8 additions & 8 deletions dev_tools/212-text.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
"name": "stdout",
"output_type": "stream",
"text": [
"https://www.mechref.org/Dynamics/VectorCalculusFigures/Graphical%20Estimation%20of%20Derivatives.png\n",
"[Errno 2] No such file or directory: './dyn/text/https://www.mechref.org/Dynamics/VectorCalculusFigures/Graphical%20Estimation%20of%20Derivatives.png'\n",
"https://www.mechref.org/Dynamics/VectorCalculusFigures/PolarIntegration.png\n",
"[Errno 2] No such file or directory: './dyn/text/https://www.mechref.org/Dynamics/VectorCalculusFigures/PolarIntegration.png'\n",
"https://www.mechref.org/Dynamics/VectorCalculusFigures/SolvingEqns.png\n",
"[Errno 2] No such file or directory: './dyn/text/https://www.mechref.org/Dynamics/VectorCalculusFigures/SolvingEqns.png'\n",
"https://www.mechref.org/Dynamics/VectorCalculusFigures/SolvingEqns2.png\n",
"[Errno 2] No such file or directory: './dyn/text/https://www.mechref.org/Dynamics/VectorCalculusFigures/SolvingEqns2.png'\n",
"https://www.mechref.org/dyn/VectorCalculusFigures/Graphical%20Estimation%20of%20Derivatives.png\n",
"[Errno 2] No such file or directory: './dyn/text/https://www.mechref.org/dyn/VectorCalculusFigures/Graphical%20Estimation%20of%20Derivatives.png'\n",
"https://www.mechref.org/dyn/VectorCalculusFigures/PolarIntegration.png\n",
"[Errno 2] No such file or directory: './dyn/text/https://www.mechref.org/dyn/VectorCalculusFigures/PolarIntegration.png'\n",
"https://www.mechref.org/dyn/VectorCalculusFigures/SolvingEqns.png\n",
"[Errno 2] No such file or directory: './dyn/text/https://www.mechref.org/dyn/VectorCalculusFigures/SolvingEqns.png'\n",
"https://www.mechref.org/dyn/VectorCalculusFigures/SolvingEqns2.png\n",
"[Errno 2] No such file or directory: './dyn/text/https://www.mechref.org/dyn/VectorCalculusFigures/SolvingEqns2.png'\n",
"001fe9df9979422f039d5465579326959eb86c16.png\n",
"ffa9b4c31668cbee7b69c548c2e7c59e23882c8e.png\n",
"52e8ed7a3ba22130ad3984eb2cd413406475a689.png\n",
Expand Down
6 changes: 3 additions & 3 deletions dev_tools/cbtf.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,9 @@
" \"src=\\\"/sta/\": \"src=\\\"../sta/\",\n",
" \"src=\\\"/sol/\": \"src=\\\"../sol/\",\n",
" \"src=\\\"/dyn/\": \"src=\\\"../dyn/\",\n",
" \"src=\\\"/Statics/\": \"src=\\\"../Statics/\",\n",
" \"src=\\\"/Solid_Mechanics/\": \"src=\\\"../Solid_Mechanics/\",\n",
" \"src=\\\"/Dynamics/\": \"src=\\\"../Dynamics/\"\n",
" \"src=\\\"/sta/\": \"src=\\\"../sta/\",\n",
" \"src=\\\"/sol/\": \"src=\\\"../sol/\",\n",
" \"src=\\\"/dyn/\": \"src=\\\"../dyn/\"\n",
"}\n",
"\n",
"all_content_pages = os.listdir(os.path.join(home, 'sta')) + os.listdir(os.path.join(home, 'sol')) + os.listdir(os.path.join(home, 'dyn'))\n",
Expand Down
Binary file removed docs/comp_imgs/dec.png
Binary file not shown.
Binary file removed docs/comp_imgs/eq_w_derivation.png
Binary file not shown.
Binary file removed docs/comp_imgs/plain_eq.png
Binary file not shown.
Loading

0 comments on commit b0856f6

Please sign in to comment.