Files
angular.js/scripts/code.angularjs.org-firebase
Martin Staffa ea04dbb229 chore(code.angularjs.org): fix robots.txt
- allow all-versions-data.js in snapshot, which is used by docs.angularjs.org
- disallow access to folders like docs-0.9.2 etc which are used by early versions
2018-02-05 17:52:34 +01:00
..

Firebase for code.angularjs.org

This folder contains the Google Firebase scripts for the code.angularjs.org setup.

firebase.json contains the rewrite rules that route every subdirectory request to the cloud function in functions/index.js that serves the docs from the Firebase Google Cloud Storage bucket.

functions/index.js also contains a rule that deletes outdated build zip files from the snapshot and snapshot-stable folders when new zip files are uploaded.

The deployment to the Google Cloud Storage bucket happens automatically via Travis. See the travis.yml file in the repository root.

See /readme.firebase.docs.md for the firebase deployment to docs.angularjs.org