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

Only upload yaml files to DevSite #5235

Merged
merged 2 commits into from Aug 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 2 additions & 9 deletions docs/builddocs.sh
Expand Up @@ -49,18 +49,11 @@ build_api_docs() {
cat dependencies/api/$dep/toc >> output/$api/obj/api/toc.yml
done

# First build for googleapis.dev and GitHub pages
# Build for googleapis.dev and GitHub pages
# Note that the devsite build will happen elsewhere.
$DOCFX build --logLevel Warning --disableGitFeatures output/$api/docfx.json | tee errors.txt | grep -v "Invalid file link"
(! grep --quiet 'Build failed.' errors.txt)

# Then build for devsite (but not in root)
if [[ "$api" != "root" ]]
then
$DOCFX build --logLevel Warning --disableGitFeatures output/$api/devsite-docfx.json | tee errors.txt | grep -v "Invalid file link"
(! grep --quiet 'Build failed.' errors.txt)
mv output/$api/devsite/api/toc.html output/$api/devsite/api/_toc.yaml
fi

# Special case root: that should end up in the root of the assembled
# site.
if [ "$api" == "root" ]
Expand Down
47 changes: 0 additions & 47 deletions third_party/docfx/templates/devsite/README.md

This file was deleted.

55 changes: 0 additions & 55 deletions third_party/docfx/templates/devsite/layout/_master.tmpl

This file was deleted.

120 changes: 0 additions & 120 deletions third_party/docfx/templates/devsite/partials/class.header.tmpl.partial

This file was deleted.