You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pouchdb.apache.org by "espy (via GitHub)" <gi...@apache.org> on 2026/06/02 12:39:07 UTC

[PR] Refactor remove external site dependencies [pouchdb]

espy opened a new pull request, #9252:
URL: https://github.com/apache/pouchdb/pull/9252

   ## Overview
   
   This PR fulfills the "external domains" part of #9246 and makes it so the site no longer relies on any CDNs or other external resources that will be blocked by apache.org when we move the site there in the future.
   
   This means:
   - removing gravatar and having author avatars in the repo, plus allowing authors without avatars
   - removing Google Analytics (currently no replacement planned)
   - self-hosting the fonts instead of using Google Fonts
   - self-hosting Bootstrap and JQuery
   - self-hosting `pouchdb.min.js` instead of linking to a CDN. This is a bit annoying, since it requires adding the built PouchDB library to the website assets after a version update. The site needs to be updated anyway, but it's important that the new `pouchdb.min.js` is also added to it. To make this clearer, I've also added a `WEBSITE_README.md`. 
   - Fixed date formatting in `feed.xml`
   - Made sure the site can be hosted/staged on GH pages (so in a subdirectory) by prefixing all necessary relative URLs with `{site.baseurl}`
   
   
   ## Testing recommendations
   
   - Build the site with `npm run build-site` and test it locally, or:
   - Go to [our staging instance](https://neighbourhoodie.github.io/pouchdb-stage) which currently hosts this PR
   
   ## Related Issues or Pull Requests
   
    #9246
   
   ## Checklist
   
   - [x] I am not a bot
   - [x] This is my own work, I did not use AI, LLM's or similar technology for code or docs generation
   - [x] Code is written and works correctly
   
   No tests, types, or website content changes necessary.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pouchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Remove external site dependencies [pouchdb]

Posted by "janl (via GitHub)" <gi...@apache.org>.
janl commented on code in PR #9252:
URL: https://github.com/apache/pouchdb/pull/9252#discussion_r3341513861


##########
README.md:
##########
@@ -35,18 +26,22 @@ If you like to live on the bleeding edge, you can build PouchDB from source usin
 
 After running these steps, the browser build can be found in `packages/node_modules/pouchdb/dist/pouchdb.js`.
 
-Changelog
-----
+## Changelog
 
 PouchDB follows [semantic versioning](http://semver.org/). To see a changelog with all PouchDB releases, check out the [Github releases page](https://github.com/pouchdb/pouchdb/releases).
 
 For a concise list of breaking changes, there's the [wiki list of breaking changes](https://github.com/pouchdb/pouchdb/wiki/Breaking-changes).
 
 Keep in mind that PouchDB is auto-migrating, so a database created in 1.0.0 will still work if you open it in 4.0.0+. Any release containing a migration is clearly marked in the release notes.
 
-Contributing
-------------
+## Contributing
 
 We're always looking for new contributors! If you'd like to try your hand at writing code, writing documentation, designing the website, writing a blog post, or answering [questions on StackOverflow](http://stackoverflow.com/search?tab=newest&q=pouchdb), then we'd love to have your input.
 
 If you have a pull request that you'd like to submit, please read the [contributing guide](https://github.com/pouchdb/pouchdb/blob/master/CONTRIBUTING.md) for info on style, commit message format, and other (slightly!) nitpicky things like that. PouchDB is heavily tested, so you'll also want to check out the [testing guide](https://github.com/pouchdb/pouchdb/blob/master/TESTING.md).
+
+## The www.pouchdb.com Website

Review Comment:
   no `www.`



##########
docs/WEBSITE_README.md:
##########
@@ -0,0 +1,40 @@
+# www.pouchdb.com

Review Comment:
   no `www.`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pouchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Remove external site dependencies [pouchdb]

Posted by "janl (via GitHub)" <gi...@apache.org>.
janl merged PR #9252:
URL: https://github.com/apache/pouchdb/pull/9252


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pouchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org