Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the --hosting-base-path argument to docc_archive #2455

Merged
merged 3 commits into from
Apr 26, 2024

Conversation

amorde
Copy link
Contributor

@amorde amorde commented Apr 26, 2024

Update docc_archive to support providing a value for the --hosting-base-path argument for docc convert.

From docc convert --help:

OVERVIEW: Converts documentation from a source bundle.

USAGE: docc convert [<options>] <source-bundle-path>

ARGUMENTS:
  <source-bundle-path>    Path to a documentation bundle directory.
        The '.docc' bundle docc will build.

OPTIONS:
   [extra output omitted]

  --hosting-base-path <hosting-base-path>
                          The base path your documentation website will be hosted at.
        For example, to deploy your site to 'example.com/my_name/my_project/documentation' instead of 'example.com/documentation', pass '/my_name/my_project' as the base path.
  -h, --help              Show help information.

Copy link
Contributor

@luispadron luispadron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apple/internal/docc.bzl Outdated Show resolved Hide resolved
@amorde amorde force-pushed the amorde/docc-hosting-base-path branch 2 times, most recently from 3c61527 to 7f08aa7 Compare April 26, 2024 02:25
@amorde amorde force-pushed the amorde/docc-hosting-base-path branch from 7f08aa7 to 50dd941 Compare April 26, 2024 03:00
@luispadron luispadron merged commit ece6012 into bazelbuild:master Apr 26, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants