Giter Site home page Giter Site logo

docusaurus-builder's People

Contributors

anujdeshpande avatar balena-ci avatar balena-renovate[bot] avatar bucknalla avatar flowzone-app[bot] avatar page- avatar vipulgupta2048 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

vipulgupta2048

docusaurus-builder's Issues

"Changelog" and "Edit on GitHub" links are for the repo, not the docs

I noticed the "Changelog" and "Edit on GitHub" links in the top navigation bar take you to the repository from which the docs site was created. This is probably fine for a dedicated docs repo like fin-userManual-doc, where:

  1. the Changelog mostly consists of things related to the docs, and
  2. the user can (and should) be guided to making edits to the docs in the project README.

But imagine you're on this page https://os-docs.balena.io/faqs

Now those links take you to a changelog for meta-balena and to the meta-balena GitHub repo respectively, which would be bewildering for most.

Potentially it's useful to link to these things, but in those cases it probably makes sense to do so within the docs, not in the navigation bar where context can't be explained. So instead, maybe we:

  • only provide those links if the repo is dedicated, and in that case enforce what I believe should be standard anyway, and use the README as a description of the repo (eg. this is a docusaurus repo, source files are in here, output is there, references are here).
  • if the repo is not dedicated, remove the links and let the doc author create add details in the docs themselves if they wish. Losing a changelog link is probably no big deal for the user, and we probably want to be conscious on a per repo basis about providing a good experience for "edit on github". I know when I first joined balena, we had similar links on some of our resources and clicking them sent me into a rabbit hole of creating a useful edit and then realising I was way down the bottom of a long learning curve to figure out how to make it a useful PR.
  • make the links opt-in, so by default we eliminate this issue

Ideally, "Edit on GitHub" would take you to the edit page of the current file, but still that might be best to be optional for cases like meta-balena where making an edit is not for the faint-hearted.

Add product website link if available?

Product landing pages as a navbar link would help us get feature parity with the current website. Atm we neither have what those subdomains will turn out to be and probably will be a special case to implement for only products that have websites/landing pages to show.

Something to discuss for sure.

Build local Website for Development & Testing of new features

Figure out a way to create a website that is built using repo's files & configuration but using the branch's updated action to make use of that website as

  1. Local testing of new features being added to theme
  2. Testing of all existing features supported in theme
  3. It would be generally nice to have a website.

Find a way to use the same branch to build the new website so as to new features.

Proposal: Add Changelog in generated docs

Originally the idea was to have Changelogs be part of docs: https://6072976c.balena-fin.pages.dev/changelog
This was removed in #23

Why?

  • Changelogs didn't have closing tags for several elements leading to docusaurus unhappy
  • Changelogs had markdown links breaking leading to errors on build

With the immutable nature of Changelogs, it's very hard to change existing Changelogs to follow the latest template that have since rectified some of these issues. We can talk more about how to bring these back in a way where it's less breaking changes on build time.

Zulip: https://balena.zulipchat.com/#narrow/stream/345882-_help/topic/Where.20are.20changelogs.20created.3F

Should be able to self-test this workflow locally

Currently there's no mechanism to see how this container works locally; we should have an example directory to be used for self testing to ensure that plugins, such as mermaid and tsdoc (in the future), are still working.

Dependency Dashboard

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

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • Lock file maintenance

Open

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

Detected dependencies

dockerfile
Dockerfile
  • node 18-buster-slim
github-actions
.github/workflows/flowzone.yml
  • product-os/flowzone master
npm
package.json
  • @cmfcmf/docusaurus-search-local ^1.1.0
  • @docusaurus/core ^3.0.1
  • @docusaurus/preset-classic ^3.0.1
  • @docusaurus/theme-mermaid ^3.0.1
  • @mdx-js/react ^3.0.0
  • gray-matter ^4.0.3
  • prism-react-renderer ^2.3.0
  • react ^18.2.0
  • react-dom ^18.2.0
  • @docusaurus/tsconfig ^3.0.1
  • @types/react ^18.2.45
  • @docusaurus/types 3.3.2
  • @docusaurus/module-type-aliases ^3.0.1
  • typescript 5.4.5
  • node >=18
  • @docusaurus/core ^3.0.1

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.