@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Generate Diviner book for Javelin

Summary: And also fix a bug in the generator script.

Test Plan: Run `bin/diviner generate`, wait till the cows come home, see 3 pages about Javelin in the Diviner app.

Reviewers: O1 Blessed Committers, chris

Reviewed By: O1 Blessed Committers, chris

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25429

+18 -2
+1
.gitignore
··· 4 4 # Diviner 5 5 /docs/ 6 6 /.divinercache/ 7 + /webroot/rsrc/externals/javelin/docs/.divinercache/ 7 8 /src/.cache/ 8 9 9 10 # libphutil
+1 -2
src/applications/diviner/workflow/DivinerGenerateWorkflow.php
··· 348 348 $atomizers[$atomizer][] = $file; 349 349 } 350 350 351 - $root = dirname(phutil_get_library_root('phabricator')); 351 + $root = dirname(phutil_get_library_root('phorge')); 352 352 $config_root = $this->getConfig('root'); 353 353 354 354 $bar = id(new PhutilConsoleProgressBar()) ··· 363 363 $this->getBookConfigPath(), 364 364 $class, 365 365 $chunk); 366 - $future->setCWD($config_root); 367 366 368 367 $futures[] = $future; 369 368
+16
webroot/rsrc/externals/javelin/docs/javelin.book
··· 1 + { 2 + "name" : "javelin", 3 + "title" : "Javelin Documentation", 4 + "short" : "Javelin Docs", 5 + "preface" : "Documentation for developers using Javelin.", 6 + "uri.source": 7 + "https://we.phorge.it/diffusion/P/browse/master/%f$%l", 8 + "rules": { 9 + "(\\.diviner$)": "DivinerArticleAtomizer" 10 + }, 11 + "groups": { 12 + "concepts": { 13 + "name": "Concepts" 14 + } 15 + } 16 + }