aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-08-16 14:39:04 +1000
committerYuchen Pei <hi@ypei.me>2022-08-16 14:39:04 +1000
commited53eba68557f1e10da17111acd55060f0450389 (patch)
tree977456b171c109623b69f330863aac48b9c1c0d1
parent4a2ad11155014bcf13a7dbd7f6b9e2c530ac3b79 (diff)
updating readme now that the org backend supports odir
-rw-r--r--README.org9
1 files changed, 4 insertions, 5 deletions
diff --git a/README.org b/README.org
index 17e352b3..72eb85e4 100644
--- a/README.org
+++ b/README.org
@@ -85,12 +85,10 @@ and run the commands:
#+begin_src sh
cd lens-5.1
cabal haddock --haddock-option=--org
-ls lens-5.1.org # If success, the org file should be placed here
+# If success, the org file should be placed under dist-newstyle
+ls ./dist-newstyle/build/*/*/lens-5.1/doc/html/lens/lens-5.1.org
#+end_src
-If success, a fresh new org documentation will be placed under the
-package directory (not in dist-newstyle!).
-
*** With Hadrian
In order to build documentation for GHC API or Haskell Hierarchical
@@ -135,7 +133,8 @@ cd ghc
# may arise
./boot && ./configure
hadrian/build docs -j --flavour=Quick
-ls *.org # If success, the org files should be placed here
+# If success, the org files should be placed under ./_build/doc/html/libraries/
+ls ./_build/doc/html/libraries/*/*.org
#+end_src
** Tips