Git Product home page Git Product logo

botkube-docs's People

Contributors

bhavin192 avatar birdboybolu avatar botkube-dev avatar brampling avatar codenio avatar dependabot[bot] avatar dixitd avatar ezodude avatar huseyinbabal avatar iamrajiv avatar jlejeune avatar madebyrogal avatar mashby2022 avatar mszostok avatar mugdha-adhav avatar pkosiec avatar prasadg193 avatar sanketsudake avatar shihaanws avatar subhajitdutta07 avatar vaijab avatar vishal-biyani avatar yo-404 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

botkube-docs's Issues

Add Open Graph image

Description

The Open Graph images are not generated when we share https://www.botkube.io/ over social media. An open graph image or OG image is the image that appears when you post website or video content to your social accounts.

Screenshot 2022-02-20 at 5 27 50 AM

References

MS Teams instruction is going to be outdated in August 2022

Description

As the official documentation page says:

App Studio has evolved. Configure, distribute, and manage your Teams apps with the new Developer Portal.
App Studio will be deprecated by August 01, 2022.

You can also see that notice in the App studio itself:
Screenshot 2022-07-21 at 11 01 58

The current MS Teams installation instruction describes configuration via App Studio. We should update it and document all steps in the new Developer Portal instead.

All the options are still there, but they are located in different places (tabs / modals, etc.), but we need to update the text and make new screenshots.

Run prettier before release PR

Description

In Release Github Action, we generate versioned documentation with docusaurus tool, but it generates a version file which prettier tools does not like it. We need to run npx prettier before pushing to release branch after doc generation.

Expected behavior

# versions.json file
["0.13", "0.14"] 

Actual behavior

# versions.json file
[
  "0.13",
  "0.14"
] 

Steps to reproduce

[Bug]: Image rendering issue on few screen sizes

Contact Details

No response

What happened?

BotKube arch image on the homepage is not getting rendered correctly on a few screen sizes/resolutions.
Above screenshot is on the following configuration:

1920 x 1080 16:9 - 14"

image

Version

1.0.0 (Default)

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Confusion about installtion in Slack

There seems to be a confusion in the docs related to installation in slack, It feels like there is no comments about the use of the cloud version, and exporting those bot token and App token is not usefull when we are using the cloud version, as we just need to copy the token from the slack console and directly paste it over to the webpage, so i think a comment metioning that would be nice.

Add legacy urls to dead-links checker

Overview

Our documentation's structure is changing quite often so to track if old links, that where published before in 3rd party platforms, social media or in botkube itself, still working we need to have a list of them and possibility to check 404 errors.

The solution won't be perfect (because tracking all changes will be tedious task) but at least this solution give us a hand on most cases.

AC

  • extend this script magefiles/magefile.go#23 (CheckDeadLinks) to check additional markdown (e.g. - archive-links.md)
  • provide archive-links.md markdown with old links, that needs to be supported.

Docs regarding the notification type are out of date

Description

The support for notification type was removed in v1.0.0 but it still appears in the current (1.2.0) documentation:
image

image

Expected behavior

The configuration option for notification.type should not be present in the documentation including the examples.

Actual behavior

The configuration option is mentioned.

Introduce troubleshooting documentation and reduce chance of slow connectivity problems

Overview

Acceptance Criteria

Docs

Botkube Open Source

Reason

Currently we lack a troubleshooting-related guide, which helps with basic debugging. Sometimes on our community Slack we receive similar questions, and we could have a single place with most common issues.

Build the site locally Fails

Hi, following the steps mentioned in READMEmd to set up the Hugo site locally, fails with following erros.

$ hugo serve -D
Building sites โ€ฆ WARN 2020/10/02 14:57:37 Page.Hugo is deprecated and will be removed in a future release. Use the global hugo function.
ERROR 2020/10/02 14:57:37 render of "page" failed: execute of template failed: template: _default/single.html:1:3: executing "_default/single.html" at <partial "header.html" .>: error calling partial: execute of template failed: template: partials/header.html:52:7: executing "partials/header.html" at <partial "menu.html" .>: error calling partial: "/home/aananth/workspace/github/botkube-docs/themes/hugo-theme-learn/layouts/partials/menu.html:100:23": execute of template failed: template: partials/menu.html:100:23: executing "section-tree-nav" at <(not .Params.hidden) or $.showhidden>: can't give argument to non-function not .Params.hidden
ERROR 2020/10/02 14:57:37 render of "page" failed: execute of template failed: template: _default/single.html:1:3: executing "_default/single.html" at <partial "header.html" .>: error calling partial: execute of template failed: template: partials/header.html:52:7: executing "partials/header.html" at <partial "menu.html" .>: error calling partial: "/home/aananth/workspace/github/botkube-docs/themes/hugo-theme-learn/layouts/partials/menu.html:100:23": execute of template failed: template: partials/menu.html:100:23: executing "section-tree-nav" at <(not .Params.hidden) or $.showhidden>: can't give argument to non-function not .Params.hidden
ERROR 2020/10/02 14:57:37 render of "page" failed: execute of template failed: template: _default/single.html:1:3: executing "_default/single.html" at <partial "header.html" .>: error calling partial: execute of template failed: template: partials/header.html:52:7: executing "partials/header.html" at <partial "menu.html" .>: error calling partial: "/home/aananth/workspace/github/botkube-docs/themes/hugo-theme-learn/layouts/partials/menu.html:100:23": execute of template failed: template: partials/menu.html:100:23: executing "section-tree-nav" at <(not .Params.hidden) or $.showhidden>: can't give argument to non-function not .Params.hidden
ERROR 2020/10/02 14:57:37 render of "section" failed: execute of template failed: template: _default/list.html:1:3: executing "_default/list.html" at <partial "header.html" .>: error calling partial: execute of template failed: template: partials/header.html:52:7: executing "partials/header.html" at <partial "menu.html" .>: error calling partial: "/home/aananth/workspace/github/botkube-docs/themes/hugo-theme-learn/layouts/partials/menu.html:100:23": execute of template failed: template: partials/menu.html:100:23: executing "section-tree-nav" at <(not .Params.hidden) or $.showhidden>: can't give argument to non-function not .Params.hidden
Built in 100 ms
Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:1:3: executing "_default/single.html" at <partial "header.html" .>: error calling partial: execute of template failed: template: partials/header.html:52:7: executing "partials/header.html" at <partial "menu.html" .>: error calling partial: "/home/aananth/workspace/github/botkube-docs/themes/hugo-theme-learn/layouts/partials/menu.html:100:23": execute of template failed: template: partials/menu.html:100:23: executing "section-tree-nav" at <(not .Params.hidden) or $.showhidden>: can't give argument to non-function not .Params.hidden

Hugo verision

Hugo Static Site Generator v0.74.3-DA0437B4 linux/amd64 BuildDate: 2020-07-23T16:22:34Z

Document Botkube event action automations

Overview

Add documentation to explain how to use Botkube event action automations

Acceptance Criteria

The documentation should include,

  • How to configure the automation.
  • Showcase access to event details using templated automation commands.
  • Explain automation for events filtered by name and annotation.
  • Showcase use of interactive chat to list, enable, disable automation commands.

Reason

Part of #789

Improve multicluster support documentation

Considering users queries on BotKube Slack, it looks like the multicluster setup documentation is not clear. Let's create a dedicated section for the same (maybe new page) and document setup as well as expected behavior command behaviors

Improve RBAC documentation

Overview

Yesterday during our RBAC-related conversation, @donnalux and @brampling spotted missing stuff in our docs. It would be great to address them soon so that it is clear to the user.

Acceptance Criteria

Update RBAC doc (https://docs.botkube.io/configuration/rbac) not only for next, but also for 1.1,1.2, 1.3:

Reason

Currently it's hard to get a full picture of the RBAC mappings as we don't mention e.g. group static mapping, or what are the defaults.

Add release notes section

We should have a release notes sections to announce

  • Announcements
  • New features
  • Breaking changes
  • Upgrade notes
  • etc
    We already have automated CHANGELOG in place, we may need to refactor it or add separate sections for additional notes

Rework the Examples section

Rework the Examples section

As of now the Examples section is a collection of random tasks and screenshots.
It would be better if we give this section more order.

Acceptance Criteria

Real-world use-cases are provided in the examples section.

Reason

Current page is too generic and doesn't provide much value.

Use Docusaurus for documentation website

Overview

Use Docusaurus as static docs site generator.

AC

  • Start from a scratch on a separate branch
    • Split it to few PRs
  • Use the latest version of Docusaurus (v2)
  • Configure it according to the docs website https://docusaurus.io/docs
    • Use TypeScript, Sass/SCSS (or CSS in JS if supported already)
    • Disable blog
    • Use and configure ideal-image plugin to have responsive images
    • SEO (metadata, meta image)
    • Update basic branding (logo, colors, fonts)
    • Use Google Analytics site
    • Add cookie banner (e.g. https://github.com/buildo/react-cookie-banner)
    • Configure Algolia search
  • Split documentation to:
  • Configure basic CI
  • Configure eslint, Prettier

Examples

Reason

Currently, the botkube.io website has an outdated look and doesn't have support for documentation versioning.

Helm chart version is not updated on release job

Description

Helm chart version is not updated on final release cut. For all our releases, we had outdated Helm version badge and image tag, see:

f9ed8a1

Expected behavior

Released documentation has a valid version

Update Update versions in installation docs step:

- name: Update versions in installation docs
run: |
LATEST_RELEASE_VERSION="${{ inputs.version }}.0"
PREVIOUS_RELEASE_VERSION_WITH_PREFIX=$(grep "\--version" docs/installation/slack/index.md | head -1 | awk -F'--version ' '{print $2}' | awk -F' ' '{print $1}')
PREVIOUS_RELEASE_VERSION=${PREVIOUS_RELEASE_VERSION_WITH_PREFIX:1}
find ./docs/installation/ -type f -name "*.md" -exec sed -i.bak "s/$PREVIOUS_RELEASE_VERSION/$LATEST_RELEASE_VERSION/g" {} \;

Clustername for discord bot isn't correctly defined

Description

Following the helm command to deploy botkube for discord:

helm install --version v0.12.4 botkube --namespace botkube --create-namespace \
--set communications.discord.enabled=true \
--set communications.discord.channel=<DISCORD_CHANNEL_ID> \
--set communications.discord.botID=<DISCORD_BOT_ID> \
--set communications.discord.token=<DISCORD_TOKEN> \
--set config.settings.clusterName=<CLUSTER_NAME> \
--set config.settings.kubectl.enabled=<ALLOW_KUBECTL> \
--set image.tag=v0.12.4 \
botkube/botkube

doesn't correctly define the k8s cluster name.

Expected behavior

First message sent by the bot with the correct cluster name.

Actual behavior

First message sent by the bot:
...and now my watch begins for cluster 'not-configured'!

Steps to reproduce

Deploy botkube for discord using that helm command.

Group or hide versions in version switcher

Overview

The version list is getting longer and longer. We should figure out a way to display just last 3 versions, and hide legacy/archived ones under All versions. We can see the following pages for inspiration (both are OS, so we can check the code how the "All versions" section is implemented):

AC

  • Display last three/five versions in the version switcher (to agree)
  • Keep the previous versions, but hidden under "All/archived versions" page (see the impl in docusaurus or jest documentation)

Fix wrong discord parameter for botkube helm installation

Description

Recent version of botkube (v0.12.4) expects --set communications.discord.botid, but it is --set communications.discord.botID in the current doc. This breaks discord integration in a way that I cannot see kubectl command responses in Discord channel

Expected behavior

When I execute @BotKube ping on Discord, I should see pong message.

Actual behavior

It does nothing when I run @BotKube ping command

Steps to reproduce

  • Follow installation steps as described here
  • Run botkube commands on discord.

Change screenshots in botkube-docs

Overview

After rebranding and changing fraze BotKube -> Botkube some of the screenshots can be outdated. It's high time to update them ๐Ÿ˜‰
Also we want to update all screenshots with commands where we can use kubectl prefix

Accepted Criteria

  • update all screenshots where we used BotKube and change it to Botkube - (photoshopping if possible)
  • update all screenshots with commands where we can possibly use kubectl prefix

Dev Notes:

Update screenshots in these pages next/0.14/0.13: (if it's possible do some photoshopping work. Please update the list if you find more pages for update):

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.