Providing different variants/flavors of content - docusaurus

I'm using Docusaurus to write tutorials for my company's platform (https://petrbroz.github.io/forge-samples-docs/docs/intro), and I'm providing multiple language/IDE variants for each tutorial. Right now, the variants are nested under each tutorial in the sidebar, e.g.:
Tutorials
- Simple Viewer
- Node.js & VSCode
- .NET 6 & VSCode
- .NET 6 & VS2022
- Hubs Browser
- Node.js & VSCode
- .NET 6 & VSCode
- .NET 6 & VS2022
Which seems a bit messy...
Does Docusaurus provide any way to perhaps have a dropdown that the user could use to select a specific variant/flavor of whatever doc page is selected in the sidebar? And if something like this is not available, what would be the recommended way of implementing such feature?

Related

Customizing jitsi meet

I'm building a web application with video conference, I'm using jitsi opensource for video calling, I have searched several forums but not able to customize for my needs. How can we do it?
You need node v16+ and any Linux OS
git clone jitsi-meet
npm install
Learn react because you need knowledge of it to change the functionality but you can start with simple things e.g changing the text so go to jitsi-meet/lang/main.json change some text that you want to change.
Type the make command in terminal
Then, change your whole source code with the original one on the server and you will see the result
You need to change the react side of view & build the jitsi, unfortunately lots of people using it as is, they are only changing the logo & background :) and some of them putting an auth ( which can be bypassed easily ) in front of jitsi.
If you need modification & building custom solution & more control ( not just ui but both for the spec of meeting )
I suggest you to give a try https://github.com/edumeet/edumeet I like this project ;)

Which Google API do I need to show a map & icon / marker

I'm just starting out on a new website & want to add a Google map onto the page. (i already know the Geo code / location).
I did find a good tutorial, however all i'm getting is a message "Oops, something when wrong" message.
I have tried to go to developers.google.com & research this, but find DOZENS / a hundred different APIs for Google maps. & im unclear as to which API I need.
1) i know google has its own 'product forum' - but theres no forum for Google apis. & the support page directed me here...
2) all i want the map to do is
i provide a geocode / location.
it displays the map in the size / area I want
allow the user to zoom in/out and move the map
Can someone advise me the 'latest' / 'recent' version, of a tutorial on how to achieve this.
https://developers.google.com/maps/get-started/
Ps I want the map to work on android / PC & other versions of browser a person may use. Do i need to create HTML code / access different apis for each browser ? the above page has dozens of options.
FIXED it - I went to the console screen that generates the API key, & checked / confirmed my key.
I found the problem that my domain name was missing a character / letter - i edited it & the map now works

IBM Worklight 6.1 - Custom UI Pattern

I'm trying out the mobile pattern, and have been trying to crate my own custom pattern that is now supposedly supported in Worklight 6.1.
When I tried creating jquery UI pattern, several issues:
1. The rich page editor for the pattern.html does not display the jquery component correctly on the design page (e.g button is displayed as link).
2. When I added a new page (into a jquery hybrid app) based on the custom UI pattern, it does not create a new page. It only adds the content code into the index.html, and I had to create the page myself.
Is this the correct behaviour?
I'm also having difficulty in creating Dojo UI pattern… as there is no Dojo component available on the palette when I open up the dojo > pattern.html file.
Do I have to add the libraries and code manually (i.e. no Drag-and-Drop)?
Appreciate any pointers on this.
PS: I'm using Eclipse Juno R2
1) For jQuery based patterns you need to append a jQuery core file to the project besides the jQuery mobile ones, for example, append this one: http://code.jquery.com/jquery-1.10.2.js to your project, next to jquery mobile JS file. This is just because "UI Pattern" projects don't have this file available, but they need it to handle a proper preview.
2) For Dojo patterns, there is still no official support (for example Drag and drop), so even you can modify pattern.html to get some "insertable" code, you may still need some additional tuning to get a valid pattern.

Do any one know how to draw high chart in Extjs ? Do you i need any plug-in for this

Do i need a plug in for high chart. I have searched through the net can anyone give me a solution. I have found that a plug in is needed for the Extjs 3 but what about version 4 onwards
It will require extension. However, it appears that an extension is already available on github. Additionally, charting in ExtJS4 is supported so if you don't need highcharts specifically then the chart you require may already be supported. Charting examples with native ExtJS are available in sencha docs.

Get current user in WinRT

I'm a C# developer and I'm used to the good old Environment.CurrentUser. Now I need exaclty that in my Windows 8 Metro app (html & js).
So how do I get it?
Windows.System.UserProfile.UserInformation.
There's also an example that uses this class, the Account picture name sample
.