Skip to content

Commit

Permalink
Cmake fixes (#150)
Browse files Browse the repository at this point in the history
* * Adding a g++ strict-safe version of strncpy to all usages of strncpy

* * Simplified the preincrement and decrement of KnowledgeRecord. Hopefully, this will also fix the warnings in KnowledgeRecord in workflow/CI also.
* Fixed a formatting issue in GlobalLogger

* * Adding checked pointer logging macro for those classes that may have a potential null pointer for a logger pointer

* * Fixed an issue in network containers that was causing warnings in strictest mode

* * Removing warnings where possible in strict compilation

* * Removed additional warning from Counter container

* * Attempting to fix warnings related to emplace in KnowledgeRecord on Github workflows
* Renaming ubuntu-tests to madara-tests and will eventually make this action more universal for supported platforms
* Updated README.md to hopefully view status of madara-tests.yaml as build indicator

* * Updated to version 3.4.0

* * Attempting to reconnect readthedocs to doxygen generation
  • Loading branch information
jredmondson committed Dec 22, 2023
1 parent 15c689a commit 0b1504f
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
35 changes: 35 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.12"
# You can also specify other tool versions:
# nodejs: "20"
# rust: "1.70"
# golang: "1.20"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
# builder: "dirhtml"
# Fail on all warnings to avoid broken references
# fail_on_warning: true

# Optionally build your docs in additional formats such as PDF and ePub
# formats:
# - pdf
# - epub

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python:
# install:
# - requirements: docs/requirements.txt
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
# -- Project information -----------------------------------------------------

project = u'MADARA'
copyright = u'2018, James Edmondson'
copyright = u'2018-2023, James Edmondson'
author = u'James Edmondson'

# The short X.Y version
version = u''
# The full version, including alpha/beta/rc tags
release = u'3.1.10'
release = u'3.4.0'

subprocess.call('perl get_version.pl; doxygen Doxyfile_MADARA_NoGraphviz.dxy', shell=True)

Expand Down

0 comments on commit 0b1504f

Please sign in to comment.