Open mmann1123 opened 1 year ago
@mmann1123 do you want to get this in now, or do you want to review #252?
@jgrss Happy to review 252 without this. Although it looks like CI tests are failing.
I am going to assume that you want ownership of this. Unless I am told otherwise- since its associated with a particular google account.
In particular if you can get the site registered:
1) Register site with google search console https://search.google.com/search-console/about
I can help with the google analytics side of thing.
Where is the Google HTML verification file supposed to live?
go to google search console https://search.google.com/search-console/
add new "property" with "URL prefix" as suggested
Download the googlea<id>.html
file and place it in docs/source (e.g. module/docs/source). Use html_extra_path inside of conf.py
as follows (i.e. add the following line somewhere in conf.py):
html_extra_path = ["googlea<id>.html"]
make clean
make html
and check to make sure docs/build/html/googlea<id>.html
exists.
Then you need to sort out the sitemap.xml
A. To do this properly it requires you to generate a sitemap.xml and host it along side the website in the root directory.
B. Once the sitemap is published to the web, open https://geowombat.readthedocs.io/sitemap.xml
in your browser, it should have a list of ALL the pages making up your webpage. CHECK that they are valid URLS ie https://geowombat.readthedocs.io/en/latest/tutorial.html
not https://geowombat.readthedocs.ioen/latest/tutorial.html
.
/
after https://geowombat.readthedocs.io
check that in your sphinx config.py
that you have a /
at the end of your html_baseurl
for instance https://geowombat.readthedocs.io/
not https://geowombat.readthedocs.io
C. Go to google search console again. Hit the sitemaps
tab, and paste the full URL to your sitemap ie. https://geowombat.readthedocs.io/sitemap.xml
Steps 1-3 are done in #262.
@jgrss can we close this?
oops accidentally closed
We should strongly consider including the google analytics SEO and sitemap. These should make the site much easier to find through search engines. Plus you can obsessively check how many people are looking at the site at any given moment.
I am not sure how much of this has been done, but I will walk you through it just in case:
1) Register site with google search console https://search.google.com/search-console/about
2) If you want more detailed analytics you also might look into adding a google analytics ID
I am happy to help just let me know.