Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
android-components
Commits
021885b3
Commit
021885b3
authored
Feb 12, 2019
by
Sebastian Kaspari
Browse files
Issue #1995: Remove old script for generating API docs.
parent
353e0565
Changes
1
Hide whitespace changes
Inline
Side-by-side
automation/docs/generate_api-reference_release.sh
deleted
100755 → 0
View file @
353e0565
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Print commands and fail this script if a sub script fails
set
-ex
# Get version number from Gradle
VERSION
=
`
sed
-n
's/.*componentsVersion: //p'
< .buildconfig.yml
`
echo
"API reference for version:
$VERSION
"
# Generate API reference for the current state
./gradlew docs
# Move generated reference to destination
mkdir
-p
./docs/api/
$VERSION
cp
-R
./build/javadoc/android-components/
*
./docs/api/
$VERSION
/
# Generate a page that links to the reference pages for every module
python automation/docs/generate_reference_page.py
$VERSION
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment