Skip to content

Missing Google Analytics from the pytorch-sphinx-theme in rendered docs #70185

Closed
@mattip

Description

@mattip

📚 The doc issue

Google Analytics are missing from the master documentation and from PR pytorch/pytorch.github.io#899

The extrahead stanza from the theme is missing in rendered docs. PR 58056 added a {% block extrahead %} stanza that overrides the one in the theme.

Suggest a potential alternative/fix

The block should add a {{ super() }} line to the extrahead stanza in docs/source/_templates/layout.html. PR incoming.

layout.html contains a number of other blocks: menu, sidebartitle, and footer. Those should also be examined to see if they should merge content or override.

cc @brianjo @mruberry

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: docsRelated to our documentation, both in docs/ and docblockstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions