Update documentation links to GitBook v2

This commit is contained in:
gregoirenovel 2018-03-15 09:37:24 +01:00
parent 46d878f433
commit 031b9c0bab
4 changed files with 5 additions and 5 deletions

View file

@ -13,7 +13,7 @@ class RootController < ApplicationController
end end
if Date.today < Date.new(2018, 03, 31) if Date.today < Date.new(2018, 03, 31)
flash.now.notice = ["Téléprocédures Simplifiées change de nom et devient demarches-simplifiees.fr, <a href='https://demarches-simplifiees.gitbooks.io/demarches-simplifiees/content/changement-de-nom.html' target='_blank' rel='noopener noreferrer'>en savoir plus</a>."] flash.now.notice = ["Téléprocédures Simplifiées change de nom et devient demarches-simplifiees.fr, <a href='https://demarches-simplifiees.gitbook.io/demarches-simplifiees/changement-de-nom' target='_blank' rel='noopener noreferrer'>en savoir plus</a>."]
end end
render 'landing' render 'landing'

View file

@ -24,7 +24,7 @@
%li.footer-link %li.footer-link
= link_to "CGU", CGU_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer" = link_to "CGU", CGU_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
%li.footer-link %li.footer-link
= link_to "Mentions légales", "https://demarches-simplifiees.gitbooks.io/demarches-simplifiees/content/conditions-generales-dutilisation.html#4-mentions-l%C3%A9gales", :class => "footer-link", :target => "_blank", rel: "noopener noreferrer" = link_to "Mentions légales", "https://demarches-simplifiees.gitbook.io/demarches-simplifiees/cgu#4.-mentions-legales", :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
%li.footer-column %li.footer-column
%ul.footer-links %ul.footer-links
@ -33,7 +33,7 @@
"mailto:#{t('dynamics.contact_email')}", "mailto:#{t('dynamics.contact_email')}",
:class => "footer-link" :class => "footer-link"
%li.footer-link %li.footer-link
= link_to "Documentation", "https://demarches-simplifiees.gitbooks.io/demarches-simplifiees/content/", :class => "footer-link", :target => "_blank", rel: "noopener noreferrer" = link_to "Documentation", "https://demarches-simplifiees.gitbook.io/demarches-simplifiees/", :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
%li.footer-link %li.footer-link
= link_to "Documentation de l'API", "/docs", :class => "footer-link", :target => "_blank", rel: "noopener noreferrer" = link_to "Documentation de l'API", "/docs", :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
%li.footer-link %li.footer-link

View file

@ -54,7 +54,7 @@
onclick: "javascript: ga('send', 'pageview', '/demander-une-demo')" onclick: "javascript: ga('send', 'pageview', '/demander-une-demo')"
= link_to "Voir la documentation", = link_to "Voir la documentation",
"https://demarches-simplifiees.gitbooks.io/demarches-simplifiees/content/", "https://demarches-simplifiees.gitbook.io/demarches-simplifiees/",
target: "_blank", target: "_blank",
rel: "noopener noreferrer", rel: "noopener noreferrer",
class: "role-panel-button-secondary" class: "role-panel-button-secondary"

View file

@ -1 +1 @@
CGU_URL = "https://demarches-simplifiees.gitbooks.io/demarches-simplifiees/content/conditions-generales-dutilisation.html" CGU_URL = "https://demarches-simplifiees.gitbook.io/demarches-simplifiees/cgu"