Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

infra: hardcoded paths break ability to host docs on-premise #623

Closed
@umdstu

Description

@umdstu

This repository is meant to be configurable and built to be self-deployed. It works, mostly, but there are issues:

  1. Assets don't load - many of the components point to the assets found in assets/img, etc., but the instructions say to simply update material2-docs-content repo, however those files have the asset paths hardcoded again to material.angular.io/assets/ rather than a relative path.

  2. VersionPicker- This ties into number 1. The versions.json file points directly to the material.angular.io host, not a relative asset path, so it doesn't load and the dropdown appears obviously broken in the UI.

  3. Material Icons fonts and css loaded via google-fonts, directly in the index.html. Could be made more configurable to point to a self-hosted version of the fonts w/o modifying the index.html page.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions