Skip to content

Commit 86e0b61

Browse files
committed
docs: fix Dolibarr docs generation
1 parent 18ef162 commit 86e0b61

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/api-docs/doctum-php-Dolibarr.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,21 @@
77

88
$rootDir = __DIR__ . '/';
99
$sourceRootDir = $rootDir . 'sources/Dolibarr';
10+
$sourceRootDir = '/mnt/Dev/@williamdes/@forked-repos/dolibarr';
1011

1112
$iterator = Finder::create()
1213
->files()
1314
->name('*.php')
1415
->path('htdocs')
1516
->in($sourceRootDir);
1617

17-
$versions = GitVersionCollection::create(__DIR__)
18+
$versions = GitVersionCollection::create($sourceRootDir)
1819
->addFromBranches('*.0');
1920

2021
return new Doctum($iterator, [
2122
'title' => 'Dolibarr',
22-
'build_dir' => $rootDir . '/Dolibarr',
23-
'cache_dir' => $rootDir . '/cache',
23+
'build_dir' => $rootDir . '/Dolibarr/versions/%version%',
24+
'cache_dir' => $rootDir . '/cache/%version%',
2425
'source_dir' => $rootDir,
2526
'versions' => $versions,
2627
'remote_repository' => new GitHubRemoteRepository('dolibarr/dolibarr', $sourceRootDir),

0 commit comments

Comments
 (0)