Skip to content

Commit b9d5aee

Browse files
authored
docs(api): bring back detailed api documentation (#5434)
1 parent e744798 commit b9d5aee

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

api/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
"clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
3232
"precompile": "cross-var lerna run version --scope $npm_package_name --include-dependencies",
3333
"compile": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
34-
"docs": "typedoc",
35-
"docs:deploy": "gh-pages --dist docs/out",
36-
"docs:test": "linkinator docs/out --silent && linkinator docs/*.md *.md --markdown --silent",
3734
"lint:fix": "eslint . --ext .ts --fix",
3835
"lint": "eslint . --ext .ts",
3936
"test:browser": "karma start --single-run",

api/src/experimental/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,11 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
17+
/**
18+
* Any exports here may change at any time and without warning
19+
* @module @opentelemetry/api/experimental
20+
*/
21+
1622
export { wrapTracer, SugaredTracer } from './trace/SugaredTracer';
1723
export { SugaredSpanOptions } from './trace/SugaredOptions';

api/src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
* limitations under the License.
1515
*/
1616

17+
/**
18+
* @module @opentelemetry/api
19+
*/
20+
1721
export { BaggageEntry, BaggageEntryMetadata, Baggage } from './baggage/types';
1822
export { baggageEntryMetadataFromString } from './baggage/utils';
1923
export { Exception } from './common/Exception';

api/typedoc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"entryPoints": [
3+
"src/index.ts",
4+
"src/experimental/index.ts"
5+
]
6+
}

0 commit comments

Comments
 (0)