summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | add comment at the top of every page that it's generated.Scott Main2017-03-221-0/+6
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way anybody who finds these pages in Piper will be dissuaded from creating an HTML CL to edit the API reference. bug: 36219182 Change-Id: I6a329fc90efa1056b8a2718645baa706dba1f77b
* / / / / / / / / Update 'added in' text to handle multiple decimalsScott Main2017-03-221-2/+8
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and say 'version' instead of 'api level' if there is a decimal. Previously, it assumed that any string that didn't parse as a number was a codename letter, so this was showing the 'preview' message for support lib versions that have multiple decimals. bug: 36489051 Change-Id: Id0fdb0094822069c849d547c8dbe807568640713
* / / / / / / / add 'not-api' metadata so the site doesn't try filteringScott Main2017-03-172-2/+6
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the class and package summary pages from view based on the user's selected API level. They should always be visible. Change-Id: Ie9469b2c948f37b1c5eea5faaf6970e649e972f4
* | | | | | | Merge "Standalone gradle build for doclava"Alan Viverette2017-03-154-28/+265
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Standalone gradle build for doclavaAlan Viverette2017-03-144-28/+265
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Test: ./gradlew dist Change-Id: I7d3cbd7208625e963f9c0ee614f53c9ee862f3a2
* / / / / / add <meta> tag for "body_class" that carries the api levelScott Main2017-03-141-1/+3
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is necessary because DevSite strips out the class names we normally apply in the <body> tag. So now DevSite will read this meta tag and apply these class names to the <body> tag as it builds the page. Bug: 36226534 Change-Id: I225718f3c1b11614b45a8db510ac92bcf2f56d30
* / / / / In Doclava sdk header template, add param for book and project path.Billy Lamberta2017-03-101-63/+78
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In non-dac reference, add hide_page_heading to prevent devsite from repeating the header title on page. Wrapping any template changes with if:!dac to avoid stepping on toes. Test: LOCAL_DROIDDOC_OPTIONS := \ Test: -hdf project.path /test/_project.yaml \ Test: -hdf book.path /test/_book.yaml \ Test: make tradefed-ds-docs Change-Id: Iddc7420582560cc6b24c7c80dd52c57686fa5e3b
* / / / WIP hack to show annotation elements in docsYigit Boyar2017-03-071-0/+7
|/ / / | | | | | | | | | Change-Id: I77c9c7627819164a83868ecf02b511d85eaebacd
* / / Support for custom root element in navtree. Check status_text for DAC.Billy Lamberta2017-03-032-9/+17
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An included book.yaml file must start with a 'toc:' root element. Passing '-hdf book.root toc' to LOCAL_DROIDDOC_OPTIONS is now recognized by the yaml_navtree template. Otherwise, default to the current 'reference:' element. Test for 'dac' hdf var before displaying the toc_element's status_text. This is used for DAC's CSS styling and will eventually migrate to the Devsite templates. Requires '-hdf dac true' passed to DAC's LOCAL_DROIDDOC_OPTIONS. Fix bug for yaml file name. If -yaml was declared before the -devsite option, then the filename would get overwritten. This now checks if a filename has already been declared before supplying a default. Test: LOCAL_DROIDDOC_OPTIONS := \ Test: -hdf book.root toc \ Test: -yaml _toc.yaml \ Test: -werror \ Test: -package \ Test: -devsite \ Change-Id: I4429ee0848842e9aa4ab5b2bad992b84c4ccd106
* | update the API_LEVELS array to include 25 and O dev previewScott Main2017-02-241-1/+1
| | | | | | | | Change-Id: Ie4e28023f3ab47cf9872530f1fcd7ba794f84b37
* | Merge "Update 'added in' text to provide a different message for previews ↵Scott Main2017-02-232-2/+45
|\ \ | | | | | | | | | and add CSS to style the APIs that are marked with this new since tag."
| * | Update 'added in' text to provide a different message for previewsScott Main2017-02-232-2/+45
| |/ | | | | | | | | | | | | | | | | | | and add CSS to style the APIs that are marked with this new since tag. If the API level is not a number, then I assume the 'since' tag given for the API level is a letter, which is what we use for the developer previews, so it shows the new label. Change-Id: I0e569e28144a5df37bd41a23e9d3918a0443e0a3
* / Add -apidocsdir command-line option to Doclava.Billy Lamberta2017-02-231-2/+7
|/ | | | | | | | | | | | | This changes the name of the javadoc output directory and is also referenced by the relative url paths in the generated docs. Currently, this is hard-coded as 'reference/'. The -toroot option can prepend a path, but -apidocsdir allows you to append a path by way of renaming the output directory. Test: LOCAL_DROIDDOC_OPTIONS := -apidocsdir reference/tradefed Change-Id: Iaa146b5682820e1f5fc43cccd785206cff7ab0bf Stage: https://androidsource-dot-devsite.googleplex.com/reference/tradefed/
* add Package Index and Class Index files to each library's root pathScott Main2017-02-134-10/+49
| | | | | | | | | | | | | | | | (instead of at the reference/ root location), and add links to these files in the left nav. stage: http://smain.mtv.corp.google.com:8080/reference/android/support/constraint/classes.html Note: This depends on some style changes to enable highlighting these new pages in the left nav: https://critique.corp.google.com/#review/147165269 TODO: Cleanupa all these 'wearableSupportPath' style hard-coded paths and instead pass those paths as a doclava argument. Change-Id: I13b4b441b46055551d36f0729de9b91ec98a0496
* Merge "New error type for removal of deprecated targets"TreeHugger Robot2016-12-0111-77/+1219
|\
| * New error type for removal of deprecated targetsAlan Viverette2016-11-3011-77/+1219
| | | | | | | | | | | | | | | | | | | | | | | | | | Does NOT cover removal of deprecated parameters or packages. Adds gradle test target. Fixes a handful of tests that were preventing tests from compiling. Fixes support for only passing the old and new API files without removed API files, which was needed for tests. Adds tests for the removal of deprecated targets. Also adds missing tests for add/remove methods. Bug: 33069269 Test: ./gradlew doclava:test Change-Id: I9bd623657fb5ee1354ffea62c3ae27d9e6ee6d02
* | Merge "Add support for MathJax in javadocs bug: 32935028 am: 50e754182a am: ↵Scott Main2016-11-300-0/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | d0cc54fc76 am: 61b47eabad am: 3f189e8a92 am: 7dc1ef870e am: d6ec3cddb1" into nyc-mr2-dev-plus-aosp am: f381ec7f6f Change-Id: I860c1390536fce410a7dddea91db2148b46713a3
| * \ Merge "Add support for MathJax in javadocs bug: 32935028 am: 50e754182a am: ↵android-wear-o-preview-4android-wear-o-preview-3android-o-preview-4android-o-preview-3android-o-preview-2android-o-iot-preview-5android-n-iot-preview-4o-iot-preview-5n-iot-preview-4Android Build Merger (Role)2016-11-300-0/+0
| |\ \ | | | | | | | | | | | | d0cc54fc76 am: 61b47eabad am: 3f189e8a92 am: 7dc1ef870e am: d6ec3cddb1" into nyc-mr2-dev-plus-aosp
* | \ \ Add support for MathJax in javadocs bug: 32935028 am: 50e754182a am: ↵Scott Main2016-11-300-0/+0
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | d0cc54fc76 am: 61b47eabad am: 3f189e8a92 am: 7dc1ef870e am: d6ec3cddb1 am: bb85480bae Change-Id: Idb169397eaab2d76906e5f4d7202cdf3362c58c9
| * | | Add support for MathJax in javadocs bug: 32935028 am: 50e754182a am: ↵Scott Main2016-11-302-0/+5
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d0cc54fc76 am: 61b47eabad am: 3f189e8a92 am: 7dc1ef870e am: d6ec3cddb1 Change-Id: I48f6d533c6aa3cd2ad87a9eb0fe39d980ed174e0
| | * \ \ Add support for MathJax in javadocs bug: 32935028 am: 50e754182a am: ↵android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1nougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-devScott Main2016-11-302-0/+5
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d0cc54fc76 am: 61b47eabad am: 3f189e8a92 am: 7dc1ef870e Change-Id: I60e1861c6609b395b22e39eaf5867c213804eff9
* | | \ \ \ Add support for MathJax in javadocs bug: 32935028 am: 50e754182a am: ↵Scott Main2016-11-300-0/+0
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d0cc54fc76 am: 61b47eabad am: 3f189e8a92 am: 7dc1ef870e am: fa7dc70125 am: 49c62670d4 Change-Id: I31ed4a5367b2749787eb13353345f36e37fe0140
| * | | | | Add support for MathJax in javadocs bug: 32935028 am: 50e754182a am: ↵Scott Main2016-11-302-0/+5
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d0cc54fc76 am: 61b47eabad am: 3f189e8a92 am: 7dc1ef870e am: fa7dc70125 Change-Id: Idc982cec59bcda85b5085c5ed27bd785638a1229
| | * | | | Add support for MathJax in javadocs bug: 32935028 am: 50e754182a am: ↵Scott Main2016-11-302-0/+5
| | |\ \ \ \ | | | | |/ / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d0cc54fc76 am: 61b47eabad am: 3f189e8a92 am: 7dc1ef870e Change-Id: I2f3ed2ba7be9971bab11c5eb6d785f113abfac80
| | | * | | Add support for MathJax in javadocs bug: 32935028 am: 50e754182a am: ↵Scott Main2016-11-302-0/+5
| | | |\ \ \ | | | | |/ / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d0cc54fc76 am: 61b47eabad am: 3f189e8a92 Change-Id: Ib926bb4c599b98f45ab2c0427bc0c6ff100a8ffa
| | | | * | Add support for MathJax in javadocs bug: 32935028 am: 50e754182a am: d0cc54fc76Scott Main2016-11-302-0/+5
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 61b47eabad Change-Id: I90ff4ee6621f194a4899eddcde7834517243cdfc
| | | | | * \ Add support for MathJax in javadocs bug: 32935028 am: 50e754182aScott Main2016-11-302-0/+5
| | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: d0cc54fc76 Change-Id: I3f98dc455c63c70cbfd3e53d1134327b6c803486
| | | | | | * \ Add support for MathJax in javadocs bug: 32935028Scott Main2016-11-292-0/+5
| | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 50e754182a Change-Id: I01539a044fa0c093f6ba12a4724d7f29ae7a1553
| | | | | | | * | Add support for MathJax in javadocsScott Main2016-11-292-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 32935028 Change-Id: I675939677192231200408c4f2379536cae0af4ad (cherry picked from commit 46df1b7bd92a1debbbc670450f17967f74c92d13)
* | | | | | | | | remove "resources" suffix from output path; honor the given pathScott Main2016-11-281-1/+1
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id9033262f720714b32e4a0f56b4ea21945a5abfc
* | | | | | | | Merge "Suppress deprecation warning for classes from jar files" am: ↵Przemyslaw Szczepaniak2016-11-283-11/+32
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 15887cc71b am: d9d318f067 am: 8ee63c50b3 am: 279349eebe Change-Id: Ie06b4dc41a8b0bd9d52c0c7917dae822c79bb0ee
| * | | | | | | Merge "Suppress deprecation warning for classes from jar files" am: ↵Przemyslaw Szczepaniak2016-11-283-11/+32
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 15887cc71b am: d9d318f067 am: 8ee63c50b3 Change-Id: I20e1ece0bff0952f52329f7844d87f038420f43b
| | * | | | | | Merge "Suppress deprecation warning for classes from jar files" am: 15887cc71bPrzemyslaw Szczepaniak2016-11-283-11/+32
| |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: d9d318f067 Change-Id: I4af9b5e9222209fdc979f13c2215af932fd1d620
| | * | | | | | Merge "Suppress deprecation warning for classes from jar files"android-o-preview-1android-n-mr2-preview-2android-n-mr2-preview-1o-previewPrzemyslaw Szczepaniak2016-11-283-11/+32
| |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 15887cc71b Change-Id: Ief014358c7a2ccf5a9cf42c44c4ab7c3350e448e
| | * | | | | | Merge "Suppress deprecation warning for classes from jar files"Przemyslaw Szczepaniak2016-11-283-11/+32
| | |\ \ \ \ \ \
| | | * | | | | | Suppress deprecation warning for classes from jar filesPrzemyslaw Szczepaniak2016-11-243-11/+32
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Classes from jar files that had their comments stripped may erroneously trigger the deprecation warning because of missing "@deprecated" doc tag. This change makes the deprecation warning require that containing class be in "included" set (this implies not originating from a classpath jar file). Test: make -j docs, tested it works with a synthetic @deprecated javadoc/annotation mismatch Bug: 32651845 Change-Id: I5db5c509d4c0015ee950a4f093af03c384baed4b
* | | | | | | | Add support for MathJax in javadocsScott Main2016-11-162-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 32935028 Change-Id: I675939677192231200408c4f2379536cae0af4ad
* | | | | | | | Merge "A few fixes to the constraint lib's output directories; and add ↵Scott Main2016-10-122-5/+19
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | another argument for the resources dir target output path; and add option to include no assets at all in the doc build then use that with all devsite builds because all the website assets are now controlled in the DevSite sources."
| * | | | | | | | A few fixes to the constraint lib's output directories; andScott Main2016-10-112-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add another argument for the resources dir target output path; and add option to include no assets at all in the doc build then use that with all devsite builds because all the website assets are now controlled in the DevSite sources. Change-Id: Iba29d831025140b5c0626369d76ef7b4d40fd4fd
* | | | | | | | | Resolve whether parameter types are actually type variables. am: 59db07aeb9 ↵Michael Wright2016-10-121-2/+8
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| / / / / / / / | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 31421b9c97 am: 7e65a61825 Change-Id: Ic66358c15f867d4b50b4b7ed95e7019554e81a5d
| * | | | | | | Resolve whether parameter types are actually type variables. am: 59db07aeb9Michael Wright2016-10-121-2/+8
| |\ \ \ \ \ \ \ | | | |/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 31421b9c97 Change-Id: If35f9c62b9459fdbef6b6478b3ffaf3113ffc5a5
| | * | | | | | Resolve whether parameter types are actually type variables.Michael Wright2016-10-121-2/+8
| | |\ \ \ \ \ \ | | | | |/ / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 59db07aeb9 Change-Id: I77a8bc714298ac31a8caf36de5c2d5330c235ed9
| | | * | | | | Resolve whether parameter types are actually type variables.nougat-mr1-devMichael Wright2016-10-111-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parameters can either be a declaration of a generic type, or a statement about the concrete type the parameter is taking for a particular instance. These are difficult to determine at initial parse, so resolve whether the class exists once parsing is finished and assume that the parameter is a type variable if it does not. Bug: 31858628 Test: run update-api, android.signature.cts.SignatureTest#testSignature Change-Id: I88d316cece8640fd5d356482ebbe0426d918d8f4
* | | | | | | | Add templates-sdk to doclava, copied from droiddoc.Scott Main2016-10-10217-0/+26012
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should now be our main template set for d.android.com. By placing it here with doclava, it's more re-usable by other API libraries outside the framework, without requiring them to sync two project paths. It may also allow us to distribute the doclava tool and templates in a JAR file so that not even the doclava project is needed as a dependency. Change-Id: I58ef0a5cde5e5d9565b49d4a5581b7d705b1014e
* | | | | | | | add support for constraint layout lib's referencesmain@google.com2016-10-072-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also adds a new doclava option to copy over a resources directory with -resourcesDir Change-Id: I819fc03f6c2e28dbe509faa8825b8fee618cc07d
* | | | | | | | Merge "Fix collisions due to ignoring outer class names." into nyc-mr1-dev ↵Michael Wright2016-10-040-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: ea9f789cb0 am: d8c9859510 am: 33ec5882e5 Change-Id: I09ebec66bcf68bab2368721e976aa25213d0845e
| * | | | | | | Merge "Fix collisions due to ignoring outer class names." into nyc-mr1-dev ↵Michael Wright2016-10-040-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: ea9f789cb0 am: d8c9859510 Change-Id: Ibfcd7fe4c5a6a904a5ef4ed5f015becaf343a9f6
| | * | | | | | Merge "Fix collisions due to ignoring outer class names." into nyc-mr1-devMichael Wright2016-10-040-0/+0
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: ea9f789cb0 Change-Id: I19cd23505191eaf49c8767db0845edf4a82a7678
| | | * | | | | Merge "Fix collisions due to ignoring outer class names." into nyc-mr1-devMichael Wright2016-10-041-4/+5
| | | |\ \ \ \ \
* | | | | | | | | Fix collisions due to ignoring outer class names. am: 35e0d1defa am: df2f58d5ecJulian Odell2016-10-041-4/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 3af96716b9 Change-Id: Ie1d3388ad705320dcf0764f43532713f2e159978