-
Notifications
You must be signed in to change notification settings - Fork 2
Add Sphinx documentation and GitHub Pages workflow #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Introduces Sphinx-based documentation for the project, including configuration, requirements, and initial content for adapter and protocol documentation. Adds a GitHub Actions workflow to build and publish the documentation to GitHub Pages on release or manual trigger. Also includes .gitignore updates to exclude build artifacts and IDE files.
|
| 401: | ||
| description: Unauthorized, e.g., invalid or missing auth_token | ||
| schema: | ||
| $ref: '#/definitions/Error' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably need a 404 error for unknown worker_ids.
docs/source/adapter/scaling.rst
Outdated
| from scaler.utility.mixins import Reporter | ||
|
|
||
| class ScalingController(Reporter, abc.ABC): | ||
| async def on_state_client(self, state_client: StateClient): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be decorated by @abc.abstractmethod
docs/source/adapter/webhook.rst
Outdated
| │ └────────┘ | ||
| │ | ||
| ┌───────────┐ Webhook Requests ┌───────┴─┐ Start ┌────────┐ | ||
| │ Scaling ├───────────────────► Adapter ├────────► Worker │ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's change the wording adapater to WorkerManagerAdapter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also this chart might be better went to the summary page
- summary:
- user need implement allocate policy or using existing ones
- user need implement worker manager adapters or using existing ones
- then chart
- briefly explain the roles of above
Then you have 2 separate pages talks about
- how allocate policy is implemented in detail
- how worker manager adapter is implemented, also include detail about json formatting etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the summary you can also draw graph about how client, scheduler, worker, worker manager adapters, allocate policy works, give them an overview.
Always better give them overview, and define the terminologies, then break down each name and for the detail
Replaces references to individual workers with worker groups in schema.yaml and documentation. Updates webhook request and response examples, handler method names, and scaling controller implementation notes to reflect the new worker group model.
Introduces Sphinx-based documentation for the project, including configuration, requirements, and initial content for adapter and protocol documentation. Adds a GitHub Actions workflow to build and publish the documentation to GitHub Pages on release or manual trigger. Also includes .gitignore updates to exclude build artifacts and IDE files.