Skip to content

Commit

Permalink
chore(docs): auto generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jghauser authored and github-actions[bot] committed Jul 4, 2024
1 parent 337e63c commit 03be1b3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions doc/papis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -328,14 +328,9 @@ All configuration options (with defaults) ~
-- Function to execute when adding a new note. `ref` is the citation key of the
-- relevant entry and `notes_name` is the name of the notes file.
create_new_note_fn = function(papis_id, notes_name)
local testing_session = require("papis.config")["enable_modules"]["testing"]
local testing_conf_path = ""
if testing_session then
testing_conf_path = "-c ./tests/papis_config "
end
vim.fn.system(
string.format(
"papis " .. testing_conf_path .. "update --set notes %s papis_id:%s",
"papis update --set notes %s papis_id:%s",
vim.fn.shellescape(notes_name),
vim.fn.shellescape(papis_id)
)
Expand Down

0 comments on commit 03be1b3

Please sign in to comment.