fpm
वैरिऐबल्सThis variable is set to true when the browser is mobile like. We detect mobile
or desktop based on browser width. fpm.mobile-breakpoint
can be used to
customize when we switch from mobile to desktop.
fpm.mobile
automatically changes when browser resizes.
//<package.name>
.//<package.name>/FPM/translation-status/
. Do not use this variable if translation is not enabled for this project.language-toc-item
. This record has following structure-- record language-toc-item: caption title: string url:
last modified on
in datetime format for the current document. It fetches it from the .history snapshots (which is available only after running fpm sync
)last modified on
in datetime format for the current package. It fetches it from the .history snapshots (which is available only after running fpm sync
)fpm.dev
.This gives the total number of documents available in current package.
In case of translation package, it gives
<total number of documents available in current package> / <total number of documents available in original package>
Note: It fetches it from .history snapshot latest record. So if the package is never synced it gives incorrect value.
fpm.translation-status
is Outdated
.When package is the translation package, it has following value for different states:
- Missing
- NeverMarked
- UptoDate
- Outdated