Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

“View Source on GitHub” links in documentation are broken #7565

Closed

Description

@1ec5

#7337 changed the framework-root configuration variable for jazzy from ../darwin/src to the hard-coded path build/ios/pkg/dynamic/Mapbox.framework. Now the “View Source on GitHub” links point to e.g. https://github.com/mapbox/mapbox-gl-native/tree/ios-v3.4.0-beta.6/build/ios/pkg/dynamic/Mapbox.framework/Headers/MGLShapeSource.h#L106 – with the right line numbers but a nonexistent path.

/cc @ericrwolfe

Activity

  1. added
    iOS
    on Jan 1, 2017
  2. added this to the ios-v3.4.0 milestone on Jan 1, 2017
  3. 1ec5 commented on Jan 1, 2017

    @1ec5
    ContributorAuthor

    No matter what we use as the source for jazzy, we’re going to wind up with incorrect URLs (either the paths or the line numbers). Here’s a possible alternative:

    1. Copy the examples to the original headers to be checked in.
    2. Revert the changes to jazzy.yml and document.sh.
    3. Keep the unit tests. Add a unit test that ensures the headers are in sync with the tests (by comparing the headers’ contents to the test file’s contents).
  4. self-assigned this
    on Jan 2, 2017
  5. 1ec5 commented on Jan 8, 2017

    @1ec5
    ContributorAuthor

    Fixed in #7569 on the release-ios-v3.4.0 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugdocumentationiOS

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions