Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ovh-angular-doc-url

Package Overview
Dependencies
Maintainers
10
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ovh-angular-doc-url

Easily create links or get urls to 2api endpoint which redirects to documentation systems

  • 0.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
10
Weekly downloads
 
Created
Source

ovh-angular-doc-url

githubbanner

Maintenance Chat on gitter

NPM

Easily create links or get urls to 2api endpoint which redirects to documentation systems (Content manager and docs.ovh.com)

Examples

Content Manager

<ovh-doc-url doc-id="g1769.creating_ssh_keys">My link</ovh-doc-url>
ovhDocUrl.getDocUrl("g1769.creating_ssh_keys")

docs.ovh.com

<ovh-doc-url doc-id="cloud/dedicated/ovh-ssh-key">My link</ovh-doc-url>
ovhDocUrl.getDocUrl("cloud/dedicated/ovh-ssh-key")

Bower

bower install ovh-angular-doc-url --save

NPM

npm install ovh-angular-doc-url --save

Get the sources

    git clone https://github.com/ovh-ux/ovh-angular-doc-url.git
    cd ovh-angular-doc-url
    npm install
    bower install

You've developed a new cool feature? Fixed an annoying bug? We'd be happy to hear from you!

Have a look in CONTRIBUTING.md

Then inject actionsMenu module in your module declaration:

angular.module("myModule", [
    ...
    "ovh-angular-doc-url",
    ...
]);

Getting Started

In your web page:

<script src="angular.js"></script>
<script src="dist/ovh-angular-doc-urls"></script>

User locale configuration

.config((TranslateServiceProvider, ovhDocUrlProvider) => {
    ovhDocUrlProvider.setUserLocale(TranslateServiceProvider.getUserLocale());
});

Url prefix for 2api

.config((TranslateServiceProvider, ovhDocUrlProvider) => {
    ovhDocUrlProvider.setUrlPrefix("/engine/2api");
});

License

See https://github.com/ovh-ux/ovh-angular-doc-url/blob/master/LICENSE

Keywords

FAQs

Package last updated on 26 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc