From 5df2a5d91d82b61b026cea5ba70179f21d793b44 Mon Sep 17 00:00:00 2001 From: thurber Date: Thu, 30 Jun 2022 08:12:11 -0700 Subject: [PATCH] update base url --- docs/source/A2.1_fishgame.rst | 4 ++-- docs/source/A2.4_hymod.rst | 10 +++++----- landing/src/app.css | 4 ++-- landing/src/app.html | 12 ++++++------ landing/src/lib/Cite.svelte | 2 +- landing/svelte.config.js | 4 +--- 6 files changed, 17 insertions(+), 19 deletions(-) diff --git a/docs/source/A2.1_fishgame.rst b/docs/source/A2.1_fishgame.rst index 3075e4ca..783399bd 100644 --- a/docs/source/A2.1_fishgame.rst +++ b/docs/source/A2.1_fishgame.rst @@ -147,7 +147,7 @@ found within the msdbook package data. Next we plot the identified solutions with regards to their objective performance in a parallel axis plot -.. tip:: View the source code used to create this plot here: `plot_objective_performance `_ +.. tip:: View the source code used to create this plot here: `plot_objective_performance `_ .. code:: ipython3 @@ -361,7 +361,7 @@ We first define the stability condition, as a function of :math:`b` and a = a.clip(0,2) -.. tip:: View the source code used to create this plot here: `plot_factor_performance `_ +.. tip:: View the source code used to create this plot here: `plot_factor_performance `_ .. code:: ipython3 diff --git a/docs/source/A2.4_hymod.rst b/docs/source/A2.4_hymod.rst index ea824353..e847e8ad 100644 --- a/docs/source/A2.4_hymod.rst +++ b/docs/source/A2.4_hymod.rst @@ -350,7 +350,7 @@ streamflow, and combined runoff. In this tutorial we focus on the total daily runoff, QQ (:math:`m^3/s`). We can use the following script to plot simulated streamflow against observed streamflow. -.. tip:: View the source code used to create this plot here: `plot_observed_vs_simulated_streamflow `_ +.. tip:: View the source code used to create this plot here: `plot_observed_vs_simulated_streamflow `_ .. code:: ipython3 @@ -579,7 +579,7 @@ observed streamflow. df_obs_mth_mean = leaf_data.groupby(['year', 'month']).mean() -.. tip:: View the source code used to create this plot here: `plot_observed_vs_sensitivity_streamflow `_ +.. tip:: View the source code used to create this plot here: `plot_observed_vs_sensitivity_streamflow `_ .. code:: ipython3 @@ -983,7 +983,7 @@ The following can be used to visualize the time-varying first-order indices. The first order represents the direct impacts of a specific parameter on model outputs. -.. tip:: View the source code used to create this plot here: `plot_monthly_heatmap `_ +.. tip:: View the source code used to create this plot here: `plot_monthly_heatmap `_ .. code:: ipython3 @@ -1078,7 +1078,7 @@ outputs to annual time steps, and then calculates the SA indices. First-order indices ^^^^^^^^^^^^^^^^^^^ -.. tip:: View the source code used to create this plot here: `plot_annual_heatmap `_ +.. tip:: View the source code used to create this plot here: `plot_annual_heatmap `_ .. code:: ipython3 @@ -1161,7 +1161,7 @@ the monthly TVSA. First-order indices ^^^^^^^^^^^^^^^^^^^ -.. tip:: View the source code used to create this plot here: `plot_varying_heatmap `_ +.. tip:: View the source code used to create this plot here: `plot_varying_heatmap `_ .. code:: ipython3 diff --git a/landing/src/app.css b/landing/src/app.css index a5c353d5..bf023467 100644 --- a/landing/src/app.css +++ b/landing/src/app.css @@ -4,8 +4,8 @@ @font-face { font-family: 'ornaments'; - src: url('/msd_uncertainty_ebook/fonts/nymphette-webfont.woff') format('woff'), - url('/msd_uncertainty_ebook/fonts/nymphette-webfont.woff2') format('woff'), + src: url('/fonts/nymphette-webfont.woff') format('woff'), + url('/fonts/nymphette-webfont.woff2') format('woff'), url('fonts/nymphette-webfont.woff') format('woff'), url('fonts/nymphette-webfont.woff2') format('woff'); } diff --git a/landing/src/app.html b/landing/src/app.html index a756fcbd..02911214 100644 --- a/landing/src/app.html +++ b/landing/src/app.html @@ -8,16 +8,16 @@ - - - - + + + + - - + + diff --git a/landing/src/lib/Cite.svelte b/landing/src/lib/Cite.svelte index 178b3a9f..125429cb 100644 --- a/landing/src/lib/Cite.svelte +++ b/landing/src/lib/Cite.svelte @@ -10,7 +10,7 @@ doi = {10.5281/zenodo.6110623}, publisher = {Zenodo}, title = {{Addressing Uncertainty in Multisector Dynamics Research}}, - url = {https://immm-sfa.github.io/msd_uncertainty_ebook/}, + url = {https://uc-ebook.org}, year = {2022} }`, }; diff --git a/landing/svelte.config.js b/landing/svelte.config.js index bbdfdd76..e937ee97 100644 --- a/landing/svelte.config.js +++ b/landing/svelte.config.js @@ -1,8 +1,6 @@ import adapter from '@sveltejs/adapter-static'; import preprocess from 'svelte-preprocess'; -const dev = process.env.NODE_ENV === 'development'; - /** @type {import('@sveltejs/kit').Config} */ const config = { // Consult https://github.com/sveltejs/svelte-preprocess @@ -15,7 +13,7 @@ const config = { assets: 'build' }), paths: { - base: dev ? '' : '/msd_uncertainty_ebook' + base: '' } } };