-
Notifications
You must be signed in to change notification settings - Fork 465
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
Theme + css #1 #856
Theme + css #1 #856
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new theme is quite nice thanks!
However, I'd argue there is one thing that was dropped and that shouldn't:
- the Google analytics ID (it's not used for ads at all, but this is the way Google Site Manager identifies the website and provides us with good SEO)
Is it not compatible with this theme?
Also, do you know if it's possible to reduce a bit the font size? (so that the title on the landing page fits by default) |
@fg-mindee |
Codecov Report
@@ Coverage Diff @@
## main #856 +/- ##
==========================================
+ Coverage 94.82% 94.84% +0.01%
==========================================
Files 133 133
Lines 5200 5200
==========================================
+ Hits 4931 4932 +1
+ Misses 269 268 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the GA edit! I added a comment as I'm not positive this will do it
docs/source/conf.py
Outdated
@@ -114,6 +114,25 @@ | |||
# A list of files that should not be packed into the epub file. | |||
epub_exclude_files = ['search.html'] | |||
|
|||
# Add googleanalytics id | |||
# ref: https://github.com/sphinx-contrib/googleanalytics/blob/master/sphinxcontrib/googleanalytics.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
according to the ref https://github.com/sphinx-contrib/googleanalytics/blob/master/sphinxcontrib/googleanalytics.py#L30-L31
it looks like there are additional like to add 🤔
We have to make sure it's the correct way before moving on with this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fg-mindee I have updated this to a newer version.
But any idea how to test without deploy ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems to be ok
https://www.googletagmanager.com/gtag/js?id=G-40DVRMX8T4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how to test it, but worst case scenario, we can revert this
About your last URL, what is this supposed to be? 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't have to set googleanalytics_id
or googleanalytics_enabled
then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fg-mindee
Yes, I would also say that we try it !
We do not need to set googleanalytics_enabled it is only used if you use it as extension but we have integrated it directly so no need to set.
googleanalytics_id is only added to app.config to have a better overview we could set it also directly instead but i would say keep it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
URL shows that your id is set correctly with its configuration so i think it will work :)
{"function":"__gct","vtp_trackingId":"G-40DVRMX8T4","vtp_sessionDuration":0,"tag_id":1}
@fg-mindee |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Felix, looks good to me :)
#851