render directory inside a code block
minor #3933 render directory inside a code block (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

render directory inside a code block

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets | #3932

Commits
-------

6386f9c render directory inside a code block
Move __construct after the repository assignment

The configure function is called from the parent::__construct(); so the $this->nameRepository is still empty during the configure. Thats why it should be the other way around.
bug #3934 Move __construct after the repository assignment (cmodijk)

This PR was submitted for the 2.5 branch but it was merged into the 2.4 branch instead (closes #3934).

Discussion
----------

Move __construct after the repository assignment

The configure function is called from the parent::__construct(); so the $this->nameRepository is still empty during the configure. Thats why it should be the other way around.

Commits
-------

f06e49c Move __construct after the repository assignment
Backporting #3935
Merge branch '2.3' into 2.4
Merge branch '2.4' into 2.5

Conflicts:
	book/translation.rst