Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add footer to all install from binary pages #864

Merged
merged 3 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 <a href="https://github.com/brainboxdotcc/templatebot">our template cmake bot project</a>.

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
Loading