aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-08-16 14:39:04 +1000
committerYuchen Pei <hi@ypei.me>2022-09-15 12:46:12 +1000
commitf4c8ccd5fd7eadcddffdfdff169a75adb8d54f1b (patch)
treee10b0d7382ea7393032c07deab414c305550b290
parentba880b4c29724768eec5a3c07c79d5525e8b7992 (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