Skip to content

Commit 41477fc

Browse files
committed
Add experimental documentation target
Add experimental `docs` target to create automated API documentation. Also moved all internal things into one unified namespace `detail`.
1 parent 811ebfb commit 41477fc

File tree

2 files changed

+83
-65
lines changed

2 files changed

+83
-65
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@ EXAMPLE_TARGETS := $(patsubst %,examples/build/%,$(EXAMPLES))
2525

2626
examples: $(EXAMPLE_TARGETS)
2727

28+
docs:
29+
doxygen
30+
moxygen doc/xml --noindex -o doc/api.md
31+
2832
# Assume every *.cpp file is a separate example
29-
$(EXAMPLE_TARGETS): examples/build/%: examples/%.cpp
33+
$(EXAMPLE_TARGETS): examples/build/%: examples/%.cpp matplotlibcpp.h
3034
mkdir -p examples/build
3135
$(CXX) -o $@ $< $(EXTRA_FLAGS) $(CXXFLAGS) $(LDFLAGS)
3236

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy