Skip to content

Commit 8610032

Browse files
committed
added docs structure for EDOT SDKs
Signed-off-by: Alexander Wert <alexander.wert@elastic.co>
1 parent 194ba1e commit 8610032

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+545
-11
lines changed

dev-docs/README.md

+96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
# Contributing to the EDOT docs
2+
3+
## Writing the docs
4+
5+
We write the docs in regular markdown.
6+
7+
The site rendering uses the [Just the Docs Jekyll theme](https://just-the-docs.com/).
8+
9+
### Structuring the docs
10+
11+
All docs must be written in the `./docs` directory.
12+
13+
The docs are currently split into three navigation sections:
14+
15+
- default section (no dedicated directory)
16+
- EDOT Collector (`_edot-collector` dir)
17+
- EDOT SDKs (`_edot-sdks` dir)
18+
19+
Each markdown file results in a separate page.
20+
21+
Docs pages can be structured hierarchically by using the `parent`, `grand_parent` and `nav_order` properties in the front matter sections in the markdown files:
22+
23+
```
24+
---
25+
title: My Page Title
26+
layout: default
27+
nav_order: 2
28+
parent: Use Cases
29+
---
30+
```
31+
32+
- `title`: Is the page title shown in the navigation bar. This title is also being used to build hierarchies using the `parent` (and `grand_parent`) properties.
33+
- `layout`: That property must be set to the value `default` on all markdown files, otherwise the layout might break.
34+
- `nav_order`: That defines the position of the page in the navigation within it's parent context.
35+
- `parent`: Put the title of the parent page here to build a hierarchical structure of your docs pages. You can omit that property if the page should at the top level of the corresponding navigation section.
36+
- `grand_parent`: Use this property to set the grandparent, when the parent title is not unique within a navigation section.
37+
38+
You can find more information in the [Just the Docs theme documentation](https://just-the-docs.com/docs/navigation/main/order/).
39+
40+
### Linking other pages
41+
42+
You can use relative links when linking other pages within the docs. Howewver, please make sure to not use the file suffix `.md` in the links:
43+
44+
**Correct:**
45+
46+
```markdown
47+
[My Link Text](./relativ/path/to/other_page)
48+
```
49+
50+
**Incorrect:**
51+
52+
```markdown
53+
[My Link Text](./relativ/path/to/other_page.md)
54+
```
55+
56+
### Adding Callouts
57+
58+
In this theme we have defined two types of callouts: `NOTE` and `WARNING`.
59+
You can use those by putting a `{: .note }` or `{: .warning }` in front of a paragraph:
60+
61+
```markdown
62+
{: .note }
63+
My Note paragraph with some text.
64+
```
65+
66+
For multi-paragraph callouts use the block syntax:
67+
68+
```markdown
69+
{: .warning }
70+
> My first warning paragraph.
71+
>
72+
> My second warning paragraph.
73+
```
74+
75+
## Building and previewing the docs site locally
76+
77+
### Prerequisites
78+
79+
1. Install Ruby. For more information, see [Installing Ruby](https://www.ruby-lang.org/en/documentation/installation/) in the Ruby documentation.
80+
2. Install Bundler. For more information, see [Bundler](https://bundler.io/).
81+
82+
### Preview the docs locally
83+
84+
Initially, install the dependencies:
85+
86+
```bash
87+
bundle install
88+
```
89+
90+
Run the site locally:
91+
92+
```bash
93+
bundle exec jekyll serve
94+
```
95+
96+
Access your local site under http://localhost:4000/opentelemetry/
File renamed without changes.
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: Configuration
3+
layout: default
4+
nav_order: 2
5+
parent: EDOT Android
6+
---
7+
8+
# Configuring the EDOT Android Agent
9+
10+
TODO:
11+
- describe the EDOT Android specific config options
12+
- describe crucial upstream options
13+
- refer to / link to the remaining upstream config options

docs/_edot-sdks/android/faq.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Frequently Asked Questions
3+
layout: default
4+
nav_order: 6
5+
parent: EDOT Android
6+
---
7+
8+
# Frequently Asked Questions on EDOT Android
9+
10+
TODO

docs/_edot-sdks/android/release.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Release Notes
3+
layout: default
4+
nav_order: 7
5+
parent: EDOT Android
6+
---
7+
8+
# Release Notes for the EDOT Android SDK
9+
10+
TODO
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: Setup
3+
layout: default
4+
nav_order: 1
5+
parent: EDOT Android
6+
---
7+
8+
# Setting up the EDOT Android Agent
9+
10+
TODO:
11+
- where to download
12+
- explicit description of basic setup here (even if it overlaps with upstream docs)
13+
- link to upstream docs for more advanced setup use cases
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: Supported Technologies
3+
layout: default
4+
nav_order: 3
5+
parent: EDOT Android
6+
---
7+
8+
# Technologies Supported by the EDOT Android SDK
9+
10+
TODO:
11+
- Reference the upstream Java instrumentation.
12+
- Describe differences (also in default behavior) of EDOT Java compared to upstream.
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Troubleshooting
3+
layout: default
4+
nav_order: 4
5+
parent: EDOT Android
6+
---
7+
8+
# Troubleshooting the EDOT Android SDK
9+
10+
TODO
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: Configuration
3+
layout: default
4+
nav_order: 2
5+
parent: EDOT .NET
6+
---
7+
8+
# Configuring the EDOT .NET Agent
9+
10+
TODO:
11+
- describe the EDOT .NET specific config options
12+
- describe crucial upstream options
13+
- refer to / link to the remaining upstream config options
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: EDOT .NET
33
layout: default
4-
nav_order: 3
4+
nav_order: 5
55
---
66

77
## EDOT .NET
88

9-
Put some content here
9+
TODO: Put some content here

docs/_edot-sdks/dotnet/faq.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Frequently Asked Questions
3+
layout: default
4+
nav_order: 6
5+
parent: EDOT .NET
6+
---
7+
8+
# Frequently Asked Questions on EDOT .NET
9+
10+
TODO

docs/_edot-sdks/dotnet/migration.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: Migration
3+
layout: default
4+
nav_order: 5
5+
parent: EDOT .NET
6+
---
7+
8+
# Migrating to EDOT .NET from Elastic .NET Agent
9+
10+
TODO:
11+
- migration steps
12+
- advantages of using EDOT
13+
- limitations compared to classic agents
14+
- (optional) performance comparison

docs/_edot-sdks/dotnet/release.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Release Notes
3+
layout: default
4+
nav_order: 7
5+
parent: EDOT .NET
6+
---
7+
8+
# Release Notes for the EDOT .NET Agent
9+
10+
TODO

docs/_edot-sdks/dotnet/setup/setup.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: Setup
3+
layout: default
4+
nav_order: 1
5+
parent: EDOT Java
6+
---
7+
8+
# Setting up the EDOT Java Agent
9+
10+
TODO:
11+
- where to download
12+
- explicit description of basic setup here (even if it overlaps with upstream docs)
13+
- link to upstream docs for more advanced setup use cases
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: Supported Technologies
3+
layout: default
4+
nav_order: 3
5+
parent: EDOT .NET
6+
---
7+
8+
# Technologies Supported by the EDOT .NET Agent
9+
10+
TODO:
11+
- Reference the upstream .NET instrumentation.
12+
- Describe differences (also in default behavior) of EDOT .NET compared to upstream.
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Troubleshooting
3+
layout: default
4+
nav_order: 4
5+
parent: EDOT .NET
6+
---
7+
8+
# Troubleshooting the EDOT .NET Agent
9+
10+
TODO

docs/_edot-sdks/ios/configuration.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: Configuration
3+
layout: default
4+
nav_order: 2
5+
parent: EDOT iOS
6+
---
7+
8+
# Configuring the EDOT iOS SDK
9+
10+
TODO:
11+
- describe the EDOT iOS specific config options
12+
- describe crucial upstream options
13+
- refer to / link to the remaining upstream config options

docs/_edot-sdks/ios/faq.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Frequently Asked Questions
3+
layout: default
4+
nav_order: 6
5+
parent: EDOT iOS
6+
---
7+
8+
# Frequently Asked Questions on EDOT iOS
9+
10+
TODO
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: EDOT iOS
33
layout: default
4-
nav_order: 4
4+
nav_order: 5
55
---
66

77
## EDOT iOS
88

9-
Put some content here
9+
TODO: Put some content here

docs/_edot-sdks/ios/release.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Release Notes
3+
layout: default
4+
nav_order: 7
5+
parent: EDOT iOS
6+
---
7+
8+
# Release Notes for the EDOT iOS SDK
9+
10+
TODO

docs/_edot-sdks/ios/setup/setup.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: Setup
3+
layout: default
4+
nav_order: 1
5+
parent: EDOT iOS
6+
---
7+
8+
# Setting up the EDOT iOS SDK
9+
10+
TODO:
11+
- where to download
12+
- explicit description of basic setup here (even if it overlaps with upstream docs)
13+
- link to upstream docs for more advanced setup use cases
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: Supported Technologies
3+
layout: default
4+
nav_order: 3
5+
parent: EDOT iOS
6+
---
7+
8+
# Technologies Supported by the EDOT iOS SDK
9+
10+
TODO:
11+
- Reference the upstream iOS instrumentation.
12+
- Describe differences (also in default behavior) of EDOT iOS compared to upstream.
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Troubleshooting
3+
layout: default
4+
nav_order: 4
5+
parent: EDOT iOS
6+
---
7+
8+
# Troubleshooting the EDOT iOS Agent
9+
10+
TODO
File renamed without changes.

docs/_edot-sdks/java/migration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ nav_order: 5
55
parent: EDOT Java
66
---
77

8-
# Migrating to EDOT Java from Classic Elastic Java Agent
8+
# Migrating to EDOT Java from the Elastic Java Agent
99

1010
TODO:
1111
- migration steps

0 commit comments

Comments
 (0)