Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(analytics): try absolute URL #532

Merged
merged 3 commits into from
Oct 27, 2020
Merged

docs(analytics): try absolute URL #532

merged 3 commits into from
Oct 27, 2020

Conversation

ffoodd
Copy link
Contributor

@ffoodd ffoodd commented Oct 20, 2020

I managed to make things work as intended by:

  • moving assets to static (except the main tarteaucitron.js file)
  • restoring the somehow missing tarteaucitronboosted.css file
  • overriding default parameters in main lib, since .init({}) doesn't work as intended for now…

To do:

  • upgrade Tarteaucitron to latest
  • redo our customizations
  • include CSS in our docs CSS files, maybe? ← nope | yes → and refactor it to comply our current best practices and stylelint rules, obviously…
  • try to improve markup to be accessible…
  • let Hugo process services and lang files (through Hugo mounts), to minify them on production server and handle them in dynamic assets instead of static ones.

@ffoodd ffoodd added bug v5 chore docs Improvements or additions to documentation labels Oct 20, 2020
@ffoodd ffoodd added this to the 5.0.0-alpha milestone Oct 20, 2020
@ffoodd ffoodd self-assigned this Oct 20, 2020
@ffoodd ffoodd force-pushed the chore/docs-tarteaucitron branch 3 times, most recently from d5c41c5 to bb6dd2f Compare October 26, 2020 13:01
@ffoodd ffoodd force-pushed the chore/docs-tarteaucitron branch 8 times, most recently from ea8a866 to ec71ea3 Compare October 26, 2020 14:44
- installed through NPM
- implement custom CSS right in our docs styles
- drop useless services and massive CSS cleanup
- move init() to docs scripts to avoid inline unminified script tag
- use TAC events to customize DOM, instead of altering lib sources
- improve TAC init to place it at the DOM start and link to our Cookies page
@ffoodd ffoodd force-pushed the chore/docs-tarteaucitron branch 5 times, most recently from d0ee96c to fd05022 Compare October 26, 2020 16:18
@ffoodd ffoodd merged commit 010c909 into v5-dev Oct 27, 2020
@ffoodd ffoodd deleted the chore/docs-tarteaucitron branch October 27, 2020 09:58
@ffoodd ffoodd mentioned this pull request Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug chore docs Improvements or additions to documentation v5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant