Skip to content

Commit

Permalink
chore: rearchtect the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
smintz committed Jun 8, 2024
1 parent 85bb64f commit 8adc7de
Show file tree
Hide file tree
Showing 22 changed files with 27 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"label": "Advanced Usage",
"position": 5,
"label": "Composing",
"position": 3,
"link": {
"type": "generated-index",
"description": "Learn more advanced techniques to use protoconf."
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions docs/consuming/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Consuming",
"position": 5
}
File renamed without changes.
4 changes: 4 additions & 0 deletions docs/delivering/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Delivering",
"position": 4
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,19 @@ protoconf provides a gRPC service that allows your application to subscribe to c

This guide will walk you through how to subscribe to configuration updates using the protoconf agent in various languages: Go, Python, Node.js, Rust, and Java.

## protoconf Agent
## protoconf Dev server

To start the protoconf agent in development mode, use the following command:
To start protoconf in development mode, use the following command:

```bash
protoconf agent -dev .
protoconf devserver .
```

The protoconf agent implements the following gRPC service:
The protoconf agent implements the following gRPC service ([See full proto file](https://github.com/protoconf/protoconf/blob/main/pb/protoconf/v1/protoconf.proto#L66)):

```protobuf
syntax = "proto3";
package v1;
option java_package = "com.protoconf.agent.api.v1";
package protoconf.v1;
import "google/protobuf/any.proto";
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 1
sidebar_position: 4
---

# Production Architecture
Expand Down
File renamed without changes.
4 changes: 0 additions & 4 deletions docs/production/_category_.json

This file was deleted.

11 changes: 10 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ const config = {
versions: {
current: {
label: 'v0.2.0',
},
"0.1.7": {
label: 'v0.1.7',
}
}
},
Expand Down Expand Up @@ -83,6 +86,12 @@ const config = {
srcDark: 'img/protoconf_inverse.png',
},
items: [
{
type: 'doc',
docId: 'getting-started/getting-started',
position: 'left',
label: 'Get Started',
},
{
type: 'doc',
docId: 'intro',
Expand Down Expand Up @@ -146,7 +155,7 @@ const config = {
items: [
{
label: 'Tutorial',
to: 'docs/0.1.7/intro',
to: 'docs/intro',
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function HomepageHeader() {
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
to="/docs/0.1.7/intro">
to="/docs/intro">
Getting Started
</Link>
</div>
Expand Down

0 comments on commit 8adc7de

Please sign in to comment.