Skip to content

Docs: require 'fileutils'#1148

Merged
grisumbras merged 1 commit intoboostorg:developfrom
sdarwin:feature/docs4
Mar 16, 2026
Merged

Docs: require 'fileutils'#1148
grisumbras merged 1 commit intoboostorg:developfrom
sdarwin:feature/docs4

Conversation

@sdarwin
Copy link
Collaborator

@sdarwin sdarwin commented Mar 11, 2026

Testing doc builds on multiple operating systems. Succeeds on Ubuntu 24.04, fails on Ubuntu 22.04

2026-03-10T21:09:35.2110429Z /opt/github/boostorg/boost/libs/json/doc/htmldir.rb:449:in `block in write_children': uninitialized constant HtmlDirConverter::FileUtils (NameError)
2026-03-10T21:09:35.2111388Z Did you mean?  FileTest

Line 449:

FileUtils.mkdir_p(outfiledir) unless File.exist?(outfiledir)

FileUtils

Not having validated it, but an idea, the file should include:

require 'fileutils'

@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://1148.json.prtest2.cppalliance.org/libs/json/doc/html/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2026-03-11 10:06:44 UTC

@grisumbras
Copy link
Member

Looks like this should indeed fix it.

@cppalliance-bot
Copy link

GCOVR code coverage report https://1148.json.prtest2.cppalliance.org/gcovr/index.html
LCOV code coverage report https://1148.json.prtest2.cppalliance.org/genhtml/index.html
Coverage Diff Report https://1148.json.prtest2.cppalliance.org/diff-report/index.html

Build time: 2026-03-11 10:22:14 UTC

@cppalliance-bot
Copy link

@codecov
Copy link

codecov bot commented Mar 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.68%. Comparing base (68aea8d) to head (12f640e).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1148   +/-   ##
========================================
  Coverage    93.68%   93.68%           
========================================
  Files           91       91           
  Lines         9164     9164           
========================================
  Hits          8585     8585           
  Misses         579      579           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 68aea8d...12f640e. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@grisumbras grisumbras merged commit 12f640e into boostorg:develop Mar 16, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants