Giter Club home page Giter Club logo

tidbyt.dev's Introduction

Tidbyt | Dev

Docs Netlify Status Discourse Discord Server

Welcome to the source for tidbyt.dev ๐ŸŽ‰. This repo contains a React project that converts a tree of GitHub Flavored Markdown into our custom documentation site.

tidbyt.dev social banner

Editing Documentation

All docs are available in the docs/ directory of this project. Any file with a .md extension will be available on the published docs site. As a rule of thumb, markdown should render properly through GitHub web, VSCode, and any other popular markdown editor. If markdown displays properly through the GitHub web viewer, it should display properly on our site.

Syntax

Everything supported in the GitHub Flavored Markdown spec is available on tidbyt.dev. If something is supported in the specification but not on our site, it should be considered a bug. If our site does more then the spec, the feature should be considered experimental and could go away at any time. Most notably, we allow some of the disallowed raw HTML tags but these may not be supported indefinitely.

Ordering

To ensure the order of your documentation appears as expected, prefix a directory or document using two digits. For example docs/01_foo/02_bar.md to ensure both the directory and the document are ordered relative to the other directories and documents.

Links

Links to other markdown files will be converted automatically for you. For example, in docs/foo/foo.md, you could link to docs/bar/bar.md as follows:

[check out bar](../bar/bar.md)

As another example, in docs/foo/foo.md, you could link to docs/foo/bar.md using relative links:

[check out bar](./bar.md)

As mentioned, if the links work in VSCode and GitHub, they should work on our documentation site out of the box.

Assets

Assets belong in the docs/img directory. All of the relative linking works as expected. If you can link to an image and it displays on GitHub, it should show up properly on our documentation site.

Developing

You shouldn't need to run the site if you simply want to edit the documentation, although you could if you want to be sure it works as expected. Check out the details below.

Local Development

First, install dependencies:

npm i

Next, run the site:

npm run start

You should be able to reach the web address in your browser: http://localhost:3000/

Production

This site is deployed using Netlify. It runs the following to build the production site:

npm run build

Profile

The build supports profiling using the following command:

npm run profile

Once complete, upload the output here for a visualization: https://chrisbateman.github.io/webpack-visualizer/

tidbyt.dev's People

Contributors

betterengineering avatar dinosaursrarr avatar drudge avatar jlisee avatar josephalfano avatar jvivona avatar matslina avatar parjohansson avatar pauljmartinez avatar renovate[bot] avatar rohansingh avatar rs7q5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tidbyt.dev's Issues

API explorer sending invalid authorization header?

While trying out the API at https://tidbyt.dev/docs/api, my calls would fail with the status code 401 and below response, even though I'd authorized with a valid API key.

{
  "code": 16,
  "message": "auth error: rpc error: code = Unauthenticated desc = Bad authorization string",
  "details": []
}

Inspecting the call in the debugger, I noticed the authorization header does not include the Bearer prefix:

authorization: eyJhbGciOiJFUzI....

Could this be why they're failing?

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm @babel/plugin-proposal-class-properties Unavailable

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency @types/jest to v29.5.12
  • chore(deps): update dependency @types/react-syntax-highlighter to v15.5.13
  • chore(deps): update dependency @types/webpack-env to v1.18.5
  • chore(deps): update dependency style-loader to v3.3.4
  • chore(deps): update dependency webpack-dev-server to v4.15.2
  • fix(deps): update dependency @types/node to v18.19.44
  • chore(deps): update babel monorepo (@babel/core, @babel/preset-env, @babel/preset-react, @babel/preset-typescript)
  • chore(deps): update dependency @types/react-test-renderer to v18.3.0
  • chore(deps): update dependency css-loader to v6.11.0
  • chore(deps): update dependency html-webpack-plugin to v5.6.0
  • chore(deps): update dependency ts-jest to v29.2.4
  • chore(deps): update dependency typescript to v5.5.4
  • chore(deps): update dependency webpack to v5.93.0
  • fix(deps): update emotion monorepo to v11.13.0 (@emotion/react, @emotion/styled)
  • fix(deps): update font awesome (@fortawesome/fontawesome-svg-core, @fortawesome/free-brands-svg-icons, @fortawesome/free-solid-svg-icons, @fortawesome/react-fontawesome)
  • fix(deps): update material-ui monorepo (@mui/icons-material, @mui/lab, @mui/material, @mui/system)
  • fix(deps): update react monorepo (@types/react, @types/react-dom, react, react-dom, react-test-renderer)
  • fix(deps): update react-router monorepo to v6.26.0 (react-router, react-router-dom)
  • chore(deps): update dependency copy-webpack-plugin to v12
  • chore(deps): update dependency css-loader to v7
  • chore(deps): update dependency html-loader to v5
  • chore(deps): update dependency remark-loader to v6
  • chore(deps): update dependency style-loader to v4
  • chore(deps): update dependency webpack-dev-server to v5
  • chore(deps): update dependency webpack-merge to v6
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

github-actions
.github/workflows/cla.yaml
  • cla-assistant/github-action v2.1.3-beta
.github/workflows/codeql-analysis.yml
  • actions/checkout v3
  • github/codeql-action v2
  • github/codeql-action v2
  • github/codeql-action v2
.github/workflows/main.yml
  • actions/checkout v3
  • actions/setup-node v3
.github/workflows/pull-request.yml
  • actions/checkout v3
  • actions/setup-node v3
npm
package.json
  • @emotion/react 11.11.1
  • @emotion/styled 11.11.0
  • @fontsource/barlow 4.5.9
  • @fontsource/material-icons 4.5.4
  • @fortawesome/fontawesome-svg-core 6.5.1
  • @fortawesome/free-brands-svg-icons 6.5.1
  • @fortawesome/free-solid-svg-icons 6.5.1
  • @fortawesome/react-fontawesome 0.2.0
  • @mdx-js/loader ^2.1.2
  • @mdx-js/react ^2.1.2
  • @mui/icons-material 5.15.0
  • @mui/lab 5.0.0-alpha.156
  • @mui/material 5.15.0
  • @mui/system 5.15.0
  • @reduxjs/toolkit 1.9.7
  • @types/node 18.19.3
  • @types/react 18.2.45
  • @types/react-dom 18.2.17
  • @types/w3c-web-serial ^1.0.3
  • anser ^2.1.1
  • mui-markdown 0.5.7
  • react 18.2.0
  • react-dom 18.2.0
  • react-markdown 8.0.7
  • react-redux 8.1.3
  • react-router 6.20.1
  • react-router-dom 6.20.1
  • react-syntax-highlighter 15.5.0
  • rehype-raw ^6.1.1
  • rehype-slug ^5.0.1
  • remark-gfm 3.0.1
  • remark-unwrap-images ^3.0.1
  • swagger-ui-react ^4.14.0
  • @babel/core 7.23.6
  • @babel/plugin-proposal-class-properties 7.18.6
  • @babel/plugin-syntax-dynamic-import 7.8.3
  • @babel/preset-env 7.23.6
  • @babel/preset-react 7.23.3
  • @babel/preset-typescript 7.23.3
  • @svgr/webpack 7.0.0
  • @types/jest 29.5.11
  • @types/react-syntax-highlighter 15.5.11
  • @types/react-test-renderer 18.0.7
  • @types/swagger-ui-react 4.18.3
  • @types/webpack-env 1.18.4
  • babel-jest 29.7.0
  • babel-loader 9.1.3
  • babel-plugin-direct-import 1.0.0
  • babel-preset-react 6.24.1
  • copy-webpack-plugin 11.0.0
  • css-loader 6.8.1
  • file-loader 6.2.0
  • html-loader 4.2.0
  • html-webpack-plugin 5.5.4
  • identity-obj-proxy 3.0.0
  • jest 29.7.0
  • jest-environment-jsdom 29.7.0
  • raw-loader 4.0.2
  • react-test-renderer 18.2.0
  • remark-loader 5.0.0
  • style-loader 3.3.3
  • ts-jest 29.1.1
  • ts-loader 9.5.1
  • ts-node 10.9.2
  • typescript 5.3.3
  • url-loader 4.1.1
  • webpack 5.89.0
  • webpack-cli 5.1.4
  • webpack-dev-server 4.15.1
  • webpack-merge 5.10.0

  • Check this box to trigger a request for Renovate to run again on this repository

Feature Request: search function in docs

Any chance you could add a search function to the docs. I have been playing around with it, but realized it also has some design implications on your end of the docs, and haven't found a good way of doing it since I haven't played around with react too much.

Through some googling, algolia instantsearch may be a good option, but I don't know too much about the best way to go about this. I think if a search function that could link to either pages or sections/subsections of the docs in the results that would be helpful.

Thanks!

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.