Code Monkey home page Code Monkey logo

developer-platform's Introduction

Kaltura API Documentation

This repository contains everything necessary to build documentation for the Kaltura VPaaS API using LucyBot.

The generated website is contained in kaltura/developer-platform-generated.

Documentation for LucyBot is available at docs.lucybot.com

Running

Running in Production

There are two target APIs: ovp (the standard Kaltura VPaaS) and ott.

ovp

npm install
git clone http://github.com/kaltura/developer-platform-generated generated/ovp
TARGET_API=ovp node server.js

ott

npm install
git clone http://github.com/kaltura/ott-developer-platform-generated generated/ott
TARGET_API=ott node server.js

Running in Development

npm install
TARGET_API=ovp lucybot build --prerender --truncate_prerender --destination generated/ovp
TARGET_API=ovp node server.js

or replace ovp with ott to build the OTT site.

Environment Options

Several options can be set using environment variables:

  • DEVELOPMENT - for use in active development, disables SSL and cache
  • NO_SSL
  • USE_CACHE
  • ENABLE_CROSS_ORIGIN
  • KALTURA_RECIPES_PORT
  • DISCOURSE_HOST
  • DISCOURSE_CATEGORY_ID
  • DISABLE_SWIFTYPE
  • ENABLE_HOMEPAGE
  • BASE_PATH
  • OTT_API_VERSION - relevant for 'ott' only. (e.g. v5_1_0)

Required in production

  • TARGET_API - either 'ott' or 'ovp'
  • KALTURA_SSO_SECRET
  • KALTURA_SSO_PAYLOAD
  • GITHUB_CLIENT_ID
  • GITHUB_CLIENT_SECRET
  • DISCOURSE_API_KEY - valid for forum.kaltura.org

Building

Any changes that are pushed to the master branch of kaltura/developer-platform will automatically trigger a Travis build. Travis will use LucyBot to update the generated/ folder with new HTML, CSS, and JS assets. Once Travis is finished, simply pull the result and restart the server.

Trigger a Build

If Travis fails, or you want to pull in the latest changes to LucyBot, you can manually trigger a build on Travis by pushing an empty commit:

git commit --allow-empty -m "Trigger CI"
git push

Testing

If you make changes to the codegen logic, you'll need to run the following to regenerate the test output:

WRITE_GOLDEN=true npm test

To check that there are no changes to codegen output, you can run:

npm test

developer-platform's People

Contributors

annaaleksandrowicz avatar assafb avatar giladna avatar kalturacommunity avatar kummersh avatar lucybot avatar ott-ci-cd avatar rbren avatar reneedvir avatar snyk-bot avatar tanyalibatter avatar tzubeli avatar zoharbabin avatar

Stargazers

 avatar  avatar

Watchers

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

developer-platform's Issues

Use 12px for body monotype font

Overall we should use a smaller font size for default body monotype font. Let’s switch to 12px like the old testme console.

Performance optimizations to page loading times

The system needs a much much much faster page loading times, it currently loads too slowly.

Please look into performance optimizations, including:

  • Ahead-of-time compilation
  • Pre-rendering
  • On-demand loading of the OpenAPI document

Youtube videos added in mediaspace not reflecting in KMC console.

Hello:
I am working on a web app where KMC videos software is used. I am all new to this technology.
I am able to get the list of videos from KMC to website.
However, I tried adding the videos from youtube using mediaspace admin access.
I have added new channel and the new channel is reflected in KMC console. but, I am not able to view the list of videos added in mediaspace admin in KMC console.

I am not sure where I am doing wrong.
A suggestion would be a great help.

  • Sai

Expand side-menu in docs while searching

When searching, the side-menu doc groups should be expanded (open) when typing, and not closed… that way you could see the actual result (e.g media.list) and not just the group labels.

Console issues with data entry and fileAsset

Please see attached screenshots.

  1. data.update action is using documentEntry instead of dataEntry.

data-update-wrong-entry-type

  1. data.get entryId field is showing a dropdown of MEDIA entries instead of data entries... in non-Media entries it's best to keep this field an open text.

dropdown-data-get

  1. fileAsset.get id field is showing a dropdown instead of int filed, and it's also broken.

fileasset-get-id

Remove Categories from the Console menu

If the user goes to the console, they already know what they're looking for, so the categories aren't needed and are actually somewhat confusing/time consuming.
Here we should just present a flat view of services.

@tzubeli / @jessp01 - FYI

On lucyBot build get the workflows directory from config

create a subfolders in 'workflows' folder one for ovp and one for ott- which will contain all the workflows for ovp and other for the ott.
Allow to configure the path of workflows folder and use it in addWorkflows function in lucyBot build script instead of using hardcoded folder name which is 'workflows'

Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (64)

  • lucybot build --prerender --destination generated/ott --basePath /doc/
    Building documentation in /home/dev/jenkins/workspace/Generate-Docs/developer-platform/generated/ott

[email protected] build:client /usr/lib/node_modules/lucybot
ng build --aot --extract-css

[BABEL] Note: The code generator has deoptimised the styling of "/usr/lib/node_modules/lucybot/node_modules/@angular/core/esm5/core.js" as it exceeds the max of "500KB".
Date: 2018-10-08T12:21:47.756Z
Hash: beb6ce43daa39e23542f
Time: 39751ms
chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 3.89 kB [entry] [rendered]
chunk {main} main.bundle.js, main.bundle.js.map (main) 760 kB [initial] [rendered]
chunk {polyfills} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 1.62 MB [initial] [rendered]
chunk {scripts} scripts.bundle.js, scripts.bundle.js.map (scripts) 502 kB [initial] [rendered]
chunk {styles} styles.bundle.css, styles.bundle.css.map (styles) 159 kB [initial] [rendered]
chunk {vendor} vendor.bundle.js, vendor.bundle.js.map (vendor) 3.22 MB [initial] [rendered]

ERROR in ./src/app/styles/bootstrap.scss
Module build failed: Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (64)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v3.13.1
at module.exports (/usr/lib/node_modules/lucybot/node_modules/node-sass/lib/binding.js:13:13)
at Object. (/usr/lib/node_modules/lucybot/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/usr/lib/node_modules/lucybot/node_modules/sass-loader/index.js:4:12)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
ERROR in ./src/app/styles/styles.scss
Module build failed: Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (64)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v3.13.1
at module.exports (/usr/lib/node_modules/lucybot/node_modules/node-sass/lib/binding.js:13:13)
at Object. (/usr/lib/node_modules/lucybot/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/usr/lib/node_modules/lucybot/node_modules/sass-loader/index.js:4:12)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
ERROR in ./src/app/styles/components.scss
Module build failed: Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (64)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v3.13.1
at module.exports (/usr/lib/node_modules/lucybot/node_modules/node-sass/lib/binding.js:13:13)
at Object. (/usr/lib/node_modules/lucybot/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/usr/lib/node_modules/lucybot/node_modules/sass-loader/index.js:4:12)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
ERROR in ./src/app/styles/bootstrap.scss
Module build failed: ModuleBuildError: Module build failed: Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (64)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v3.13.1
at module.exports (/usr/lib/node_modules/lucybot/node_modules/node-sass/lib/binding.js:13:13)
at Object. (/usr/lib/node_modules/lucybot/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/usr/lib/node_modules/lucybot/node_modules/sass-loader/index.js:4:12)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at runLoaders (/usr/lib/node_modules/lucybot/node_modules/webpack/lib/NormalModule.js:195:19)
at /usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:364:11
at /usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:170:18
at loadLoader (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/loadLoader.js:27:11)
at iteratePitchingLoaders (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:169:2)
at iteratePitchingLoaders (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:165:10)
at /usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:173:18
at loadLoader (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/loadLoader.js:36:3)
at iteratePitchingLoaders (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:169:2)
at iteratePitchingLoaders (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:165:10)
at /usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:173:18
at loadLoader (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/loadLoader.js:36:3)
at iteratePitchingLoaders (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:169:2)
at runLoaders (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:362:2)
at NormalModule.doBuild (/usr/lib/node_modules/lucybot/node_modules/webpack/lib/NormalModule.js:182:3)
at NormalModule.build (/usr/lib/node_modules/lucybot/node_modules/webpack/lib/NormalModule.js:275:15)
ERROR in ./src/app/styles/styles.scss
Module build failed: ModuleBuildError: Module build failed: Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (64)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v3.13.1
at module.exports (/usr/lib/node_modules/lucybot/node_modules/node-sass/lib/binding.js:13:13)
at Object. (/usr/lib/node_modules/lucybot/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/usr/lib/node_modules/lucybot/node_modules/sass-loader/index.js:4:12)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at runLoaders (/usr/lib/node_modules/lucybot/node_modules/webpack/lib/NormalModule.js:195:19)
at /usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:364:11
at /usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:170:18
at loadLoader (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/loadLoader.js:27:11)
at iteratePitchingLoaders (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:169:2)
at iteratePitchingLoaders (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:165:10)
at /usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:173:18
at loadLoader (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/loadLoader.js:36:3)
at iteratePitchingLoaders (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:169:2)
at iteratePitchingLoaders (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:165:10)
at /usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:173:18
at loadLoader (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/loadLoader.js:36:3)
at iteratePitchingLoaders (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:169:2)
at runLoaders (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:362:2)
at NormalModule.doBuild (/usr/lib/node_modules/lucybot/node_modules/webpack/lib/NormalModule.js:182:3)
at NormalModule.build (/usr/lib/node_modules/lucybot/node_modules/webpack/lib/NormalModule.js:275:15)
ERROR in ./src/app/styles/components.scss
Module build failed: ModuleBuildError: Module build failed: Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (64)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v3.13.1
at module.exports (/usr/lib/node_modules/lucybot/node_modules/node-sass/lib/binding.js:13:13)
at Object. (/usr/lib/node_modules/lucybot/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/usr/lib/node_modules/lucybot/node_modules/sass-loader/index.js:4:12)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at runLoaders (/usr/lib/node_modules/lucybot/node_modules/webpack/lib/NormalModule.js:195:19)
at /usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:364:11
at /usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:170:18
at loadLoader (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/loadLoader.js:27:11)
at iteratePitchingLoaders (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:169:2)
at iteratePitchingLoaders (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:165:10)
at /usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:173:18
at loadLoader (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/loadLoader.js:36:3)
at iteratePitchingLoaders (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:169:2)
at iteratePitchingLoaders (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:165:10)
at /usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:173:18
at loadLoader (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/loadLoader.js:36:3)
at iteratePitchingLoaders (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:169:2)
at runLoaders (/usr/lib/node_modules/lucybot/node_modules/loader-runner/lib/LoaderRunner.js:362:2)
at NormalModule.doBuild (/usr/lib/node_modules/lucybot/node_modules/webpack/lib/NormalModule.js:182:3)
at NormalModule.build (/usr/lib/node_modules/lucybot/node_modules/webpack/lib/NormalModule.js:275:15)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:client: ng build --aot --extract-css
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:client script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Fix search behavior

Update the Search behavior to:

  • Search should also search inside the docs and not just based on titles/metadata.
  • Do not show duplicate items in the

Consider using SwiftType (account details provided privately) as search API when online... BUT, need to carefully consider how we deal with offline (if user using docs and is not connected) and multiple schema versions.

workflows/Ingest_and_Upload_Media;step=2 - wrong params passed to uploadToken->upload()

Consider the code https://developer.kaltura.com:8443/workflows/Ingest_and_Upload_Media;step=2 produces:

$result = $client->uploadToken->upload($ks, $format, $uploadTokenId, $fileData, $resume, $finalChunk, $resumeAt);
results = client.upload_token_service.upload(ks, format, upload_token_id, file_data, resume, final_chunk, resume_at)

The signature for this function is:

function uploadAction($uploadTokenId, $fileData, $resume = false, $finalChunk = true, $resumeAt = -1)

So ks and format should not be there.

The above PHP and Ruby samples are just for illustration, same is true to all code generators.

NodeJS codegen only - checking "Show setup" in the "Authentication" workflow behaves incorrectly

See https://developer.kaltura.com:8443/workflows/Generate_API_Sessions/Authentication;step=1, which points to an instance deployed with the latest from the master branch.

  • Select "NodeJS" and check "Show setup". Generated code is:
const kaltura = require('kaltura-client');
const config = new kaltura.Configuration();
config.serviceUrl = 'https://www.kaltura.com';
const client = new kaltura.Client(config);
  • Uncheck "Show setup". Generated code is:
let secret = "********************************";
let userId = "[email protected]";
let type = kaltura.enums.SessionType.ADMIN;
let partnerId = "2141171";
let expiry = 86400;
let privileges = "";

kaltura.services.session.start(secret, userId, type, partnerId, expiry, privileges)
.execute(client)
.then(result => {
    console.log(result);
});

issue with edit / create workflows

Following this issue: #78 which was implemented in lucyBot v4.4.
While trying to save or load a workflow getting http 404 error since load workflow path is wrong – currently the path lucyBot using is workflows/${workflowName} but since the path to workflows is configurable it should be taken from workflowDirectory setting (/${workflowDirectory }/${workflowName}).

This issue prevents us from edit / create workflows in order to solve changes in lucyBot required.

Update URL structure for better SEO

Direct Action URL –  Urls shows be replaced to be of the structure: domain/apidocs/service/x/action/y . It is fairly descriptive and also short enough to render fully in the Google search result.

https://www.youtube.com/watch?v=AQcSFsQyct8 explains underscores vs. hyphens.

In our case since underscores literally are the name of the API, it actually does make sense to continue using underscores.

However, we should stop using hash (#) because these are used to indicate fragments on the page (and in fact something we do want to support, deep link inside the page and having Google index these fragments).

workflows/Ingest_and_Upload_Media;step=2 fails when using Firefox

After submitting the form in step 2, the uploadToken.upload() request fails with:

{
  "code": "UPLOAD_TOKEN_INVALID_STATUS_FOR_UPLOAD",
  "message": "Upload token is in an invalid status for uploading a file, maybe the file was already uploaded",
  "objectType": "KalturaAPIException",
  "args": []
}

Can be reproduced here: https://developer.kaltura.com:8443/workflows/Ingest_and_Upload_Media;step=2

This works correctly when using Chrome. @bobby-brennan - sent you a HAR file by mail.

I'm using Firefox 60.0 but I believe it will reproduce with other versions as well.

Fix side-menu search - missing results

The search results currently vary between the side-menu and the results. This means that in the console view, some results are missing. For example, consider the term "esearch", when in the "API Docs" tab, I get the expected result in the search results but the side menu is empty, when in "Console", I get no results.

Related actions/services

Support metadata specification for each doc so that you could add tags in the form of SERVICE.ACTION [for instance category.add, categoryEntry.update], then, when generating the site, iterate over the metadata and index it so that if a person views the API documentation for services and actions for which a corresponding tag exists, a "see also" reference will appear.

Presentation wise, it will also show this in search results (under the search results show “Related Topics:” in smaller font, and have all tags be clickable).

@jessp01 - please advise on how you think we should store this information in the schema.

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.