Page MenuHomePhabricator

[chronik-doc] Use the local node for the examples
ClosedPublic

Authored by Fabien on Sep 18 2024, 19:46.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Commits
rABC346a6701a008: [chronik-doc] Use the local node for the examples
Summary

There is now a public node running on the same node, let's use it.

The url scheme is as follow:

Test Plan

Check the remote is responsive and no url has been forgotten.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
chronik-doc-local-node
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 30359
Build 60242: Build Diff
Build 60241: arc lint + arc unit

Event Timeline

Fabien requested review of this revision.Sep 18 2024, 19:46
bytesofman added a subscriber: bytesofman.

is there a way to do this without the 8331?

I guess would need to change the nginx settings in infra?

This revision is now accepted and ready to land.Sep 18 2024, 19:54
Fabien planned changes to this revision.Sep 18 2024, 20:01

let's use a more user friendly url

This revision is now accepted and ready to land.Sep 19 2024, 11:38

If we are updating the URL, also need to update

// Set the production url of your site here
    url: 'https://chronik-doc.fabien.cash',

in docusaurus.config.js

This revision now requires changes to proceed.Sep 19 2024, 12:20

Actually I think the update goes in the next key of this settings page. So, will be like this:

// Set the production url of your site here
url: 'https://chronik-doc.fabien.cash',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/docs',
Fabien requested review of this revision.Sep 19 2024, 12:25

The dir goes into baseUrl

This revision is now accepted and ready to land.Sep 19 2024, 12:26