Skip to content

Commit 6c670b4

Browse files
committed
changed wording for 4.x
1 parent 1173b83 commit 6c670b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RoboFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function buildDocsGuides() {
8484
$title = preg_replace('/([a-z\d])([A-Z])/', '\\1 \\2', $title);
8585

8686
$contents = file_get_contents($file->getPathname());
87-
$pervVersionLink = in_array($file->getBasename(), $prevVersionDocs) ? '<div class="alert alert-success"><b>You are viewing docs for Codeception 5</b>. <a href="https://github.com/Codeception/codeception.github.com/blob/4.x/docs/' . $file->getBasename() . '">Switch to previous version of this guide</a> for Codeception 4.x</div>' : '';
87+
$pervVersionLink = in_array($file->getBasename(), $prevVersionDocs) ? '<div class="alert alert-success">💡 <b>You are reading docs for latest Codeception 5</b>. <a href="https://github.com/Codeception/codeception.github.com/blob/4.x/docs/' . $file->getBasename() . '">Read for 4.x</a></div>' : '';
8888

8989
foreach ([$file->getBasename(), $titleName . '.md'] as $filename) {
9090
$this->taskWriteToFile('docs/' . $filename)

0 commit comments

Comments
 (0)