mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 20:25:45 +01:00
Merge pull request #306 from Mughur/docupdate
MISC: Updated ReadTheDocs links
This commit is contained in:
commit
018c344554
@ -14,7 +14,7 @@ See the [frequently asked questions](./doc/FAQ.md) for more information . To dis
|
||||
# Documentation
|
||||
|
||||
The game's official documentation can be found on [Read The
|
||||
Docs](http://bitburner.readthedocs.io/). Please note that this is still a work-in-progress.
|
||||
Docs](http://bitburner-official.readthedocs.io/). Please note that this is still a work-in-progress.
|
||||
|
||||
The [in-game documentation](./markdown/bitburner.md) is generated from the [TypeScript definitions](./src/ScriptEditor/NetscriptDefinitions.d.ts).
|
||||
|
||||
|
@ -251,7 +251,7 @@ export const GameOptionsSidebar = (props: IProps): React.ReactElement => {
|
||||
</Button>
|
||||
<Button
|
||||
startIcon={<SystemUpdateAlt />}
|
||||
href="https://bitburner.readthedocs.io/en/latest/changelog.html"
|
||||
href="https://bitburner-official.readthedocs.io/en/latest/changelog.html"
|
||||
target="_blank"
|
||||
sx={{ gridArea: " changelog" }}
|
||||
>
|
||||
@ -259,7 +259,7 @@ export const GameOptionsSidebar = (props: IProps): React.ReactElement => {
|
||||
</Button>
|
||||
<Button
|
||||
startIcon={<LibraryBooks />}
|
||||
href="https://bitburner.readthedocs.io/en/latest/index.html"
|
||||
href="https://bitburner-official.readthedocs.io/en/latest/index.html"
|
||||
target="_blank"
|
||||
sx={{ gridArea: "docs" }}
|
||||
>
|
||||
|
@ -20,7 +20,7 @@ export const RemoteAPIPage = (): React.ReactElement => {
|
||||
text editor and then upload files to the home server.
|
||||
</Typography>
|
||||
<Typography>
|
||||
<Link href="https://bitburner.readthedocs.io/en/latest/remoteapi.html" target="_blank">
|
||||
<Link href="https://bitburner-official.readthedocs.io/en/latest/remoteapi.html" target="_blank">
|
||||
Documentation
|
||||
</Link>
|
||||
</Typography>
|
||||
|
@ -11,9 +11,9 @@ export const Literatures: Record<string, Literature> = {};
|
||||
fn = LiteratureNames.HackersStartingHandbook;
|
||||
txt =
|
||||
"Some resources:<br><br>" +
|
||||
"<a class='a-link-button' href='https://bitburner.readthedocs.io/en/latest/netscript/netscriptlearntoprogram.html' target='_blank' style='margin:4px'>Learn to Program</a><br><br>" +
|
||||
"<a class='a-link-button' href='https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html' target='_blank' style='margin:4px'>For Experienced JavaScript Developers: NetscriptJS</a><br><br>" +
|
||||
"<a class='a-link-button' href='https://bitburner.readthedocs.io/en/latest/netscript.html' target='_blank' style='margin:4px'>Netscript Documentation</a><br><br>" +
|
||||
"<a class='a-link-button' href='https://bitburner-official.readthedocs.io/en/latest/netscript/netscriptlearntoprogram.html' target='_blank' style='margin:4px'>Learn to Program</a><br><br>" +
|
||||
"<a class='a-link-button' href='https://bitburner-official.readthedocs.io/en/latest/netscript/netscriptjs.html' target='_blank' style='margin:4px'>For Experienced JavaScript Developers: NetscriptJS</a><br><br>" +
|
||||
"<a class='a-link-button' href='https://bitburner-official.readthedocs.io/en/latest/netscript.html' target='_blank' style='margin:4px'>Netscript Documentation</a><br><br>" +
|
||||
"When starting out, hacking is the most profitable way to earn money and progress. This " +
|
||||
"is a brief collection of tips/pointers on how to make the most out of your hacking scripts.<br><br>" +
|
||||
"-hack() and grow() both work by percentages. hack() steals a certain percentage of the " +
|
||||
|
@ -36,7 +36,7 @@ export function SleeveRoot(): React.ReactElement {
|
||||
|
||||
<Button onClick={() => setFAQOpen(true)}>FAQ</Button>
|
||||
<Button
|
||||
href="https://bitburner.readthedocs.io/en/latest/advancedgameplay/sleeves.html#duplicate-sleeves"
|
||||
href="https://bitburner-official.readthedocs.io/en/latest/advancedgameplay/sleeves.html#duplicate-sleeves"
|
||||
target="_blank"
|
||||
>
|
||||
Wiki Documentation
|
||||
|
6
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
6
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -4440,7 +4440,7 @@ type UserInterface = {
|
||||
* // Some related functions are gathered within a common namespace
|
||||
* stock.getPrice();
|
||||
* ```
|
||||
* {@link https://bitburner.readthedocs.io/en/latest/netscript/netscript1.html| ns1 in-game docs}
|
||||
* {@link https://bitburner-official.readthedocs.io/en/latest/netscript/netscript1.html| ns1 in-game docs}
|
||||
* <hr>
|
||||
* <b>Basic ns2 usage example:</b>
|
||||
* ```ts
|
||||
@ -4453,7 +4453,7 @@ type UserInterface = {
|
||||
* await ns.hack('n00dles');
|
||||
* }
|
||||
* ```
|
||||
* {@link https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html| ns2 in-game docs}
|
||||
* {@link https://bitburner-official.readthedocs.io/en/latest/netscript/netscriptjs.html| ns2 in-game docs}
|
||||
* <hr>
|
||||
*/
|
||||
export type NS = {
|
||||
@ -6304,7 +6304,7 @@ export type NS = {
|
||||
*
|
||||
* WARNING: Port Handles only work in NetscriptJS (Netscript 2.0). They will not work in Netscript 1.0.
|
||||
*
|
||||
* @see https://bitburner.readthedocs.io/en/latest/netscript/netscriptmisc.html#netscript-ports
|
||||
* @see https://bitburner-official.readthedocs.io/en/latest/netscript/netscriptmisc.html#netscript-ports
|
||||
* @param port - Port number. Must be an integer between 1 and 20.
|
||||
*/
|
||||
getPortHandle(port: number): NetscriptPort;
|
||||
|
@ -907,7 +907,7 @@ export function Root(props: IProps): React.ReactElement {
|
||||
<Typography>
|
||||
{" "}
|
||||
<strong>Documentation:</strong>{" "}
|
||||
<Link target="_blank" href="https://bitburner.readthedocs.io/en/latest/index.html">
|
||||
<Link target="_blank" href="https://bitburner-official.readthedocs.io/en/latest/index.html">
|
||||
Basic
|
||||
</Link>
|
||||
{" | "}
|
||||
|
@ -171,7 +171,7 @@ function Purchase4SMarketDataButton(props: IProps): React.ReactElement {
|
||||
|
||||
export function InfoAndPurchases(props: IProps): React.ReactElement {
|
||||
const [helpOpen, setHelpOpen] = useState(false);
|
||||
const documentationLink = "https://bitburner.readthedocs.io/en/latest/basicgameplay/stockmarket.html";
|
||||
const documentationLink = "https://bitburner-official.readthedocs.io/en/latest/basicgameplay/stockmarket.html";
|
||||
return (
|
||||
<>
|
||||
<Typography>Welcome to the World Stock Exchange (WSE)!</Typography>
|
||||
|
@ -26,7 +26,7 @@ export function TutorialRoot(props: IProps): React.ReactElement {
|
||||
<Link
|
||||
color="primary"
|
||||
target="_blank"
|
||||
href="https://bitburner.readthedocs.io/en/latest/guidesandtips/gettingstartedguideforbeginnerprogrammers.html"
|
||||
href="https://bitburner-official.readthedocs.io/en/latest/guidesandtips/gettingstartedguideforbeginnerprogrammers.html"
|
||||
>
|
||||
<Typography>Getting Started</Typography>
|
||||
</Link>
|
||||
@ -34,7 +34,7 @@ export function TutorialRoot(props: IProps): React.ReactElement {
|
||||
<Link
|
||||
color="primary"
|
||||
target="_blank"
|
||||
href="https://bitburner.readthedocs.io/en/latest/basicgameplay/servers.html"
|
||||
href="https://bitburner-official.readthedocs.io/en/latest/basicgameplay/servers.html"
|
||||
>
|
||||
<Typography>Servers & Networking</Typography>
|
||||
</Link>
|
||||
@ -42,7 +42,7 @@ export function TutorialRoot(props: IProps): React.ReactElement {
|
||||
<Link
|
||||
color="primary"
|
||||
target="_blank"
|
||||
href="https://bitburner.readthedocs.io/en/latest/basicgameplay/hacking.html"
|
||||
href="https://bitburner-official.readthedocs.io/en/latest/basicgameplay/hacking.html"
|
||||
>
|
||||
<Typography>Hacking</Typography>
|
||||
</Link>
|
||||
@ -50,19 +50,19 @@ export function TutorialRoot(props: IProps): React.ReactElement {
|
||||
<Link
|
||||
color="primary"
|
||||
target="_blank"
|
||||
href="https://bitburner.readthedocs.io/en/latest/basicgameplay/scripts.html"
|
||||
href="https://bitburner-official.readthedocs.io/en/latest/basicgameplay/scripts.html"
|
||||
>
|
||||
<Typography>Scripts</Typography>
|
||||
</Link>
|
||||
<br />
|
||||
<Link color="primary" target="_blank" href="https://bitburner.readthedocs.io/en/latest/netscript.html">
|
||||
<Link color="primary" target="_blank" href="https://bitburner-official.readthedocs.io/en/latest/netscript.html">
|
||||
<Typography>Netscript Programming Language</Typography>
|
||||
</Link>
|
||||
<br />
|
||||
<Link
|
||||
color="primary"
|
||||
target="_blank"
|
||||
href="https://bitburner.readthedocs.io/en/latest/basicgameplay/world.html"
|
||||
href="https://bitburner-official.readthedocs.io/en/latest/basicgameplay/world.html"
|
||||
>
|
||||
<Typography>Traveling</Typography>
|
||||
</Link>
|
||||
@ -70,7 +70,7 @@ export function TutorialRoot(props: IProps): React.ReactElement {
|
||||
<Link
|
||||
color="primary"
|
||||
target="_blank"
|
||||
href="https://bitburner.readthedocs.io/en/latest/basicgameplay/companies.html"
|
||||
href="https://bitburner-official.readthedocs.io/en/latest/basicgameplay/companies.html"
|
||||
>
|
||||
<Typography>Companies</Typography>
|
||||
</Link>
|
||||
@ -78,7 +78,7 @@ export function TutorialRoot(props: IProps): React.ReactElement {
|
||||
<Link
|
||||
color="primary"
|
||||
target="_blank"
|
||||
href="https://bitburner.readthedocs.io/en/latest/basicgameplay/infiltration.html"
|
||||
href="https://bitburner-official.readthedocs.io/en/latest/basicgameplay/infiltration.html"
|
||||
>
|
||||
<Typography>Infiltration</Typography>
|
||||
</Link>
|
||||
@ -86,7 +86,7 @@ export function TutorialRoot(props: IProps): React.ReactElement {
|
||||
<Link
|
||||
color="primary"
|
||||
target="_blank"
|
||||
href="https://bitburner.readthedocs.io/en/latest/basicgameplay/factions.html"
|
||||
href="https://bitburner-official.readthedocs.io/en/latest/basicgameplay/factions.html"
|
||||
>
|
||||
<Typography>Factions</Typography>
|
||||
</Link>
|
||||
@ -94,19 +94,19 @@ export function TutorialRoot(props: IProps): React.ReactElement {
|
||||
<Link
|
||||
color="primary"
|
||||
target="_blank"
|
||||
href="https://bitburner.readthedocs.io/en/latest/basicgameplay/augmentations.html"
|
||||
href="https://bitburner-official.readthedocs.io/en/latest/basicgameplay/augmentations.html"
|
||||
>
|
||||
<Typography>Augmentations</Typography>
|
||||
</Link>
|
||||
<br />
|
||||
<Link color="primary" target="_blank" href="https://bitburner.readthedocs.io/en/latest/shortcuts.html">
|
||||
<Link color="primary" target="_blank" href="https://bitburner-official.readthedocs.io/en/latest/shortcuts.html">
|
||||
<Typography>Keyboard Shortcuts</Typography>
|
||||
</Link>
|
||||
<br />
|
||||
<Link
|
||||
color="primary"
|
||||
target="_blank"
|
||||
href="https://bitburner.readthedocs.io/en/latest/netscript/netscriptlearntoprogram.html#netscript-1-0-vs-netscript-2-0"
|
||||
href="https://bitburner-official.readthedocs.io/en/latest/netscript/netscriptlearntoprogram.html#netscript-1-0-vs-netscript-2-0"
|
||||
>
|
||||
<Typography>NS1 vs NS2 (or .script vs .js)</Typography>
|
||||
</Link>
|
||||
@ -114,7 +114,7 @@ export function TutorialRoot(props: IProps): React.ReactElement {
|
||||
<Link
|
||||
color="primary"
|
||||
target="_blank"
|
||||
href="https://bitburner.readthedocs.io/en/latest/netscript/netscriptfunctions.html"
|
||||
href="https://bitburner-official.readthedocs.io/en/latest/netscript/netscriptfunctions.html"
|
||||
>
|
||||
<Typography>Simplified list of functions</Typography>
|
||||
</Link>
|
||||
|
@ -527,7 +527,7 @@ export function InteractiveTutorialRoot(): React.ReactElement {
|
||||
<br />
|
||||
<br />
|
||||
The{" "}
|
||||
<a href="https://bitburner.readthedocs.io/en/latest/guidesandtips/gettingstartedguideforbeginnerprogrammers.html">
|
||||
<a href="https://bitburner-official.readthedocs.io/en/latest/guidesandtips/gettingstartedguideforbeginnerprogrammers.html">
|
||||
Getting Started
|
||||
</a>{" "}
|
||||
contains the guide for new players, navigating you through most of early game.
|
||||
|
Loading…
Reference in New Issue
Block a user