Skip to content

Commit 5877fff

Browse files
committed
Update documentation to reference Github instead of Bitbucket
1 parent 7793053 commit 5877fff

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

doc/installing.rst

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ Usage with Webpack or Browserify
1717

1818
Install the package using NPM::
1919

20-
npm install --save git+http://bitbucket.org/ftrack/ftrack-javascript-api.git
20+
npm install --save @ftrack/api
2121

22-
You can then import or require the `ftrack-javascript-api` package::
22+
You can then import or require the `@ftrack/api` package::
2323

24-
var ftrack = require('ftrack-javascript-api');
24+
var ftrack = require('@ftrack/api');
2525
var session = new ftrack.Session(...)
2626

2727
Or, using ES2015-style imports::
2828

29-
import { Session } from 'ftrack-javascript-api';
29+
import { Session } from '@ftrack/api';
3030
var session = new Session(...);
3131

3232
Usage with Node
@@ -35,13 +35,13 @@ Usage with Node
3535
To use the API with node, you will need to install the a polyfill for the fetch
3636
API, `isomorphic-fetch <https://github.com/matthew-andrews/isomorphic-fetch>`_::
3737

38-
npm install --save isomorphic-fetch git+http://bitbucket.org/ftrack/ftrack-javascript-api.git
38+
npm install --save isomorphic-fetch @ftrack/api
3939

40-
Require `isomorphic-fetch` to add the polyfill, then require the API and
40+
Require `isomorphic-fetch` to add the polyfill, then require the API and
4141
instantiate a Session.::
4242

4343
require('isomorphic-fetch');
44-
var ftrack = require('ftrack-javascript-api');
44+
var ftrack = require('@ftrack/api');
4545
var session = new ftrack.Session(...)
4646

4747
.. note::
@@ -55,11 +55,9 @@ Building distribution bundle from source
5555
You can also build manually from the source for more control. First, make sure
5656
you have node (v5+) installed, see :ref:`installing/node` for instructions.
5757

58-
Obtain a copy of the source by either downloading the
59-
`zipball <https://bitbucket.org/ftrack/ftrack-javascript-api/get/master.zip>`_ or
60-
cloning the public repository::
58+
Obtain a copy of the source by cloning the public repository::
6159

62-
git clone git@bitbucket.org:ftrack/ftrack-javascript-api.git
60+
git clone git@github.com:ftrackhq/javascript-api.git
6361

6462
Then you can build the package ::
6563

@@ -79,7 +77,7 @@ To build the documentation from source::
7977

8078
Then view in your browser::
8179

82-
file:///path/to/ftrack-javascript-api/build/doc/html/index.html
80+
file:///path/to/@ftrack/api/build/doc/html/index.html
8381

8482
Dependencies building docs
8583
--------------------------

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
description='Javascript api for ftrack.com',
2929
long_description=open(README_PATH).read(),
3030
keywords='ftrack',
31-
url='https://bitbucket.org/ftrack/ftrack-javascript-api',
31+
url='https://github.com/ftrackhq/javascript-api',
3232
author='ftrack',
3333
author_email='support@ftrack.com',
3434
license='Apache License (2.0)',

0 commit comments

Comments
 (0)