Skip to content

Commit

Permalink
docs: add footer to all install from binary pages
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis committed Sep 19, 2023
1 parent 3fff79d commit cb8a85d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 1 addition & 3 deletions docpages/building/freebsd.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ The important flags in this command-line are:
* `mydppbot.cpp` - Your source code
* `dppbot` - The name of the executable to make

Of course, this is just a proof of concept - you should really use a more robust build system like [`cmake`](@ref buildcmake).

If you are having trouble setting up CMake, you can try [our template bot](https://github.com/brainboxdotcc/templatebot).
\include{doc} install_prebuilt_footer.dox

**Have fun!**
4 changes: 1 addition & 3 deletions docpages/building/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ The important flags in this command-line are:
* `mydppbot.cpp` - Your source code
* `dppbot` - The name of the executable to make

Of course, this is just a proof of concept — you should really use a more robust build system like GNU `make` or [`cmake`](@ref buildcmake).

If you are having trouble setting up CMake, you can try [our template bot](https://github.com/brainboxdotcc/templatebot).
\include{doc} install_prebuilt_footer.dox

**Have fun!**

Expand Down
4 changes: 1 addition & 3 deletions docpages/building/osx.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ The important flags in this command-line are:
* `mydppbot.cpp` - Your source code
* `dppbot` - The name of the executable to make

Of course, this is just a proof of concept - you should really use a more robust build system like GNU `make` or [`cmake`](@ref buildcmake).

If you are having trouble setting up CMake, you can try [our template bot](https://github.com/brainboxdotcc/templatebot).
\include{doc} install_prebuilt_footer.dox

**Have fun!**

2 changes: 2 additions & 0 deletions docpages/include/install_prebuilt_footer.dox
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
\note Compiling your bot with a raw `g++` command is not advised in any real project, and the example above should be used only as a test. From here, you should learn to create a bot in D++ by moving on to \ref buildcmake or if you have not yet created a token for your bot, \ref creating-a-bot-application - If you are having trouble setting up CMake, you can try [our template bot project](https://github.com/brainboxdotcc/templatebot).

2 changes: 2 additions & 0 deletions docpages/install/install-arch-aur.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ You will now be able to use D++ by including its library on the command line:
```
g++ mybot.cpp -o mybot -ldpp
```

\include{doc} install_prebuilt_footer.dox
4 changes: 3 additions & 1 deletion docpages/install/install-linux-deb.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ You will now be able to use D++ by including its library on the command line:

```
g++ mybot.cpp -o mybot -ldpp
```
```

\include{doc} install_prebuilt_footer.dox

0 comments on commit cb8a85d

Please sign in to comment.