Update on forcing the publishing, ignoring the timestamps.

This commit is contained in:
Sergiu Ivanov 2021-11-20 15:42:45 +01:00
parent 31b9c313a7
commit 9ce0d94df1

View file

@ -16,20 +16,14 @@
(load-file "~/Candies/Sites/work/work.el") (load-file "~/Candies/Sites/work/work.el")
#+END_SRC #+END_SRC
2. Open [[file:index.org][index.org]] and publish the current project. 2. Open [[file:index.org][index.org]] and publish the current project with a prefix
(=C-u=) to get the updated timestamp, or run the following
3. Remove all timestamps. snippet:
#+BEGIN_SRC elisp :results none
(org-publish-remove-all-timestamps)
#+END_SRC
4. Reopen [[file:index.org][index.org]] and republish the current project to get the
updated timestamp, or run the following snippet:
#+BEGIN_SRC elisp :results silent #+BEGIN_SRC elisp :results silent
(org-publish-project "work-site") (org-publish-project "work-site" t)
#+END_SRC #+END_SRC
5. Go to https://entrepot.ibisc.univ-evry.fr/ and upload the files 3. Go to https://entrepot.ibisc.univ-evry.fr/ and upload the files
and directories from [[file:www/][www/]] to the folder =ivanov-page-perso=. and directories from [[file:www/][www/]] to the folder =ivanov-page-perso=.
The username to login to the entrepôt is The username to login to the entrepôt is
@ -41,10 +35,18 @@
whole site. whole site.
#+BEGIN_SRC elisp :results silent #+BEGIN_SRC elisp :results silent
(load-file "~/Candies/Sites/work/work.el") (load-file "~/Candies/Sites/work/work.el")
(org-publish-remove-all-timestamps) (org-publish-project "work-site" t)
(org-publish-project "work-site")
#+END_SRC #+END_SRC
* Forcing Org-mode to ignore the timestamps <2021-11-20> :old:
Before today, I used to need to call
#+BEGIN_SRC elisp :results silent
(org-publish-remove-all-timestamps)
#+END_SRC
in order to force Org-mode to export every file. Now, this can be
done by setting the =FORCE= argument of =org-publish-project= to
=t=, as seen in the above code blocks.
* Seafile problem <2020-02-17 Mon> :old: * Seafile problem <2020-02-17 Mon> :old:
** Problem ** Problem
After another update, Seafile started telling me this when I tried After another update, Seafile started telling me this when I tried