Skip to content

Commit 6778b1e

Browse files
committed
Fix docs
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
1 parent e3aeb5a commit 6778b1e

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
running/index
88
internals/index
99

10-
FastForward DevTools Guide
11-
=========================
10+
Documentation
11+
=============
1212

1313
Welcome to the documentation for FastForward DevTools.
1414

src/Command/AbstractCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ protected function getProjectName(): string
216216
$composer = $this->requireComposer();
217217
$package = $composer->getPackage();
218218

219-
return $package->getDescription() ?? $package->getName();
219+
return $package->getName();
220220
}
221221

222222
/**

src/Command/DocsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ private function createPhpDocumentorConfig(string $source, string $target, strin
147147
$templateContents = $this->filesystem->readFile($templateFile);
148148

149149
$this->filesystem->dumpFile($configFile, strtr($templateContents, [
150-
'%%TITLE%%' => $this->getProjectName(),
150+
'%%TITLE%%' => $this->getProjectDescription(),
151151
'%%TEMPLATE%%' => $template,
152152
'%%TARGET%%' => $target,
153153
'%%WORKING_DIRECTORY%%' => $workingDirectory,

0 commit comments

Comments
 (0)